	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmcia_do_get_mac
_pcmcia_do_get_mac:                     ## @pcmcia_do_get_mac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	movq	(%r8), %rcx
	movq	_CISTPL_FUNCE_LAN_NODE_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_7
## %bb.1:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	2(%rcx), %rax
	cmpq	%rax, 8(%rsi)
	jge	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	cmpq	%rcx, 8(%r8)
	jne	LBB0_5
## %bb.4:
	movq	(%rdx), %rax
	movq	16(%r8), %rcx
	movq	%rcx, (%rax)
	movq	24(%r8), %rcx
	movq	%rcx, 8(%rax)
	movq	32(%r8), %rcx
	movq	%rcx, 16(%rax)
	movq	40(%r8), %rcx
	movq	%rcx, 24(%rax)
	movq	48(%r8), %rcx
	movq	%rcx, 32(%rax)
	movq	56(%r8), %rcx
	movq	%rcx, 40(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	callq	_dev_warn
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CISTPL_FUNCE_LAN_NODE_ID,8,3   ## @CISTPL_FUNCE_LAN_NODE_ID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid CIS tuple length for LAN_NODE_ID\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid header for LAN_NODE_ID\n"

	.no_dead_strip	_pcmcia_do_get_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmcia_do_get_mac
_pcmcia_do_get_mac:                     ; @pcmcia_do_get_mac
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _CISTPL_FUNCE_LAN_NODE_ID@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CISTPL_FUNCE_LAN_NODE_ID@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.1:
	ldr	x10, [x1, #8]
Lloh3:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x11, x9, #2
	cmp	x10, x11
	b.ge	LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x10, [x8, #8]
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldr	x9, [x2]
	ldr	x10, [x8, #16]
	str	x10, [x9]
	ldr	x10, [x8, #24]
	str	x10, [x9, #8]
	ldr	x10, [x8, #32]
	str	x10, [x9, #16]
	ldr	x10, [x8, #40]
	str	x10, [x9, #24]
	ldr	x10, [x8, #48]
	str	x10, [x9, #32]
	ldr	x8, [x8, #56]
	str	x8, [x9, #40]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_dev_warn
LBB0_7:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CISTPL_FUNCE_LAN_NODE_ID,8,3   ; @CISTPL_FUNCE_LAN_NODE_ID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid CIS tuple length for LAN_NODE_ID\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid header for LAN_NODE_ID\n"

	.no_dead_strip	_pcmcia_do_get_mac
.subsections_via_symbols
