	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_svc_dme_peer_get            ## -- Begin function gb_svc_dme_peer_get
	.p2align	4, 0x90
_gb_svc_dme_peer_get:                   ## @gb_svc_dme_peer_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	%esi, -64(%rbp)
	movl	%edx, %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -80(%rbp)
	movl	4(%rbx), %edi
	movq	_GB_SVC_TYPE_DME_PEER_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	leaq	-48(%rbp), %r8
	movl	$24, %ecx
	movl	$8, %r9d
	callq	_gb_operation_sync
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	callq	_dev_err
	jmp	LBB0_6
LBB0_2:
	movl	-44(%rbp), %edi
	callq	_le16_to_cpu
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	callq	_dev_err
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movl	-48(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, (%rbx)
LBB0_6:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GB_SVC_TYPE_DME_PEER_GET,4,2   ## @GB_SVC_TYPE_DME_PEER_GET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get DME attribute (%u 0x%04x %u): %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"UniPro error while getting DME attribute (%u 0x%04x %u): %u\n"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_svc_dme_peer_get            ; -- Begin function gb_svc_dme_peer_get
	.p2align	2
_gb_svc_dme_peer_get:                   ; @gb_svc_dme_peer_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	str	w1, [sp, #24]
	mov	x0, x2
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_cpu_to_le16
	str	x0, [sp, #8]
	ldr	w0, [x23, #4]
Lloh0:
	adrp	x8, _GB_SVC_TYPE_DME_PEER_GET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GB_SVC_TYPE_DME_PEER_GET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x4, sp
	mov	w3, #24
	mov	w5, #8
	bl	_gb_operation_sync
	cbz	w0, LBB0_2
; %bb.1:
	mov	x24, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x24
	bl	_dev_err
	b	LBB0_7
LBB0_2:
	ldr	w0, [sp, #4]
	bl	_le16_to_cpu
	cbz	w0, LBB0_4
; %bb.3:
	mov	x5, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_dev_err
Lloh7:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_7
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
	ldr	w0, [sp]
	bl	_le32_to_cpu
	mov	w24, #0
	str	w0, [x22]
	b	LBB0_7
LBB0_6:
	mov	w24, #0
LBB0_7:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GB_SVC_TYPE_DME_PEER_GET,4,2   ; @GB_SVC_TYPE_DME_PEER_GET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get DME attribute (%u 0x%04x %u): %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"UniPro error while getting DME attribute (%u 0x%04x %u): %u\n"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
.subsections_via_symbols
