	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_macaddr_f
_get_macaddr_f:                         ## @get_macaddr_f
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_DHCP_HASH_PRIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	testl	$-2147483648, %edx              ## imm = 0x80000000
	sete	%al
	movslq	%edx, %r15
	cmpq	%rcx, %r15
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_HMI@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rcx,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	cmpq	%rbx, (%rax)
	jne	LBB0_9
## %bb.5:
	leaq	(%rcx,%r15,8), %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rbx, (%rax)
	jne	LBB0_9
## %bb.7:
	addq	$8, %rcx
LBB0_8:
	movq	8(%rax), %rdx
	movq	%rdx, (%rcx)
	testl	%r14d, %r14d
	jns	LBB0_13
	jmp	LBB0_14
LBB0_10:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.12:
	movq	_tot_macaddrs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$16, %edi
	callq	_zmalloc0
	movq	%rbx, (%rax)
LBB0_13:
	movq	(%r12), %rcx
	movq	(%rcx,%r15,8), %rdx
	movq	%rdx, 8(%rax)
	movq	%rax, (%rcx,%r15,8)
	jmp	LBB0_14
LBB0_11:
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DHCP_HASH_PRIME,8,3            ## @DHCP_HASH_PRIME
	.comm	_HMI,8,3                        ## @HMI
	.comm	_tot_macaddrs,4,2               ## @tot_macaddrs
	.no_dead_strip	_get_macaddr_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_macaddr_f
_get_macaddr_f:                         ; @get_macaddr_f
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DHCP_HASH_PRIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DHCP_HASH_PRIME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x9, x0, x8
	msub	x9, x9, x8, x0
	tst	x9, #0x80000000
	lsl	x23, x9, #32
	sxtw	x21, w9
	ccmp	x21, x8, #2, eq
	cset	w0, lo
	bl	_assert
Lloh3:
	adrp	x22, _HMI@GOTPAGE
Lloh4:
	ldr	x22, [x22, _HMI@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x8, x8, x23, asr #29
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x9, [x0]
	cmp	x9, x19
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x0]
	cmp	x9, x19
	b.ne	LBB0_2
; %bb.4:
	add	x8, x8, #8
LBB0_5:
	ldr	x9, [x0, #8]
	str	x9, [x8]
	tbnz	w20, #31, LBB0_11
; %bb.6:
	ldr	x8, [x22]
	lsl	x9, x21, #3
	ldr	x10, [x8, x9]
	b	LBB0_9
LBB0_7:
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.8:
Lloh5:
	adrp	x8, _tot_macaddrs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tot_macaddrs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w0, #16
	bl	_zmalloc0
	ldr	x8, [x22]
	lsl	x9, x21, #3
	ldr	x10, [x8, x9]
	str	x19, [x0]
LBB0_9:
	str	x10, [x0, #8]
	str	x0, [x8, x9]
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DHCP_HASH_PRIME,8,3            ; @DHCP_HASH_PRIME
	.comm	_HMI,8,3                        ; @HMI
	.comm	_tot_macaddrs,4,2               ; @tot_macaddrs
	.no_dead_strip	_get_macaddr_f
.subsections_via_symbols
