	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxbf_tmfifo_get_cfg_mac
_mlxbf_tmfifo_get_cfg_mac:              ## @mlxbf_tmfifo_get_cfg_mac
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_EFI_GLOBAL_VARIABLE_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movslq	%eax, %rcx
	movq	%rcx, -56(%rbp)
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_efi@GOTPCREL(%rip), %rax
	movq	_mlxbf_tmfifo_efi_name@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	*(%rax)
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movslq	(%r12), %rax
	cmpq	%rax, -56(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_4
LBB0_3:
	movq	_mlxbf_tmfifo_net_default_mac@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
LBB0_4:
	callq	_ether_addr_copy
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EFI_GLOBAL_VARIABLE_GUID,4,2   ## @EFI_GLOBAL_VARIABLE_GUID
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_efi,8,3                        ## @efi
	.comm	_mlxbf_tmfifo_efi_name,4,2      ## @mlxbf_tmfifo_efi_name
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.comm	_mlxbf_tmfifo_net_default_mac,8,3 ## @mlxbf_tmfifo_net_default_mac
	.no_dead_strip	_mlxbf_tmfifo_get_cfg_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxbf_tmfifo_get_cfg_mac
_mlxbf_tmfifo_get_cfg_mac:              ; @mlxbf_tmfifo_get_cfg_mac
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _EFI_GLOBAL_VARIABLE_GUID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFI_GLOBAL_VARIABLE_GUID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stur	w8, [x29, #-44]
Lloh6:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x22]
	sxtw	x9, w8
	stur	x9, [x29, #-56]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh10:
	adrp	x8, _efi@GOTPAGE
Lloh11:
	ldr	x8, [x8, _efi@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _mlxbf_tmfifo_efi_name@GOTPAGE
Lloh14:
	ldr	x9, [x9, _mlxbf_tmfifo_efi_name@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x9]
	sub	x1, x29, #44
	sub	x3, x29, #56
	mov	x2, #0
	mov	x4, x20
	blr	x8
Lloh16:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-56]
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_4
LBB0_3:
Lloh19:
	adrp	x8, _mlxbf_tmfifo_net_default_mac@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mlxbf_tmfifo_net_default_mac@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	mov	x0, x19
LBB0_4:
	bl	_ether_addr_copy
	mov	sp, x21
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EFI_GLOBAL_VARIABLE_GUID,4,2   ; @EFI_GLOBAL_VARIABLE_GUID
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_efi,8,3                        ; @efi
	.comm	_mlxbf_tmfifo_efi_name,4,2      ; @mlxbf_tmfifo_efi_name
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.comm	_mlxbf_tmfifo_net_default_mac,8,3 ; @mlxbf_tmfifo_net_default_mac
	.no_dead_strip	_mlxbf_tmfifo_get_cfg_mac
.subsections_via_symbols
