	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_get
_eth_get:                               ## @eth_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_AF_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	$0, -72(%rbp)
	movq	_AF_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_NET_RT_IFLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-88(%rbp), %rcx
	movl	$6, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	$-1, %r12d
	testq	%rax, %rax
	js	LBB0_15
## %bb.1:
	movq	-88(%rbp), %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %r15
	leaq	-80(%rbp), %rdi
	leaq	-88(%rbp), %rcx
	movl	$6, %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	js	LBB0_17
## %bb.3:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax
	movq	%r15, %r13
	testq	%rax, %rax
	movq	_AF_LINK@GOTPCREL(%rip), %rsi
	jle	LBB0_12
## %bb.4:
	movq	_RTM_IFINFO@GOTPCREL(%rip), %r12
	movq	_RTA_IFP@GOTPCREL(%rip), %r14
	movq	%r15, %r13
	jmp	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_AF_LINK@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	12(%r13), %rcx
	leaq	(%r13,%rcx,4), %r13
	leaq	(%r15,%rax,4), %rcx
	cmpq	%rcx, %r13
	jae	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %ecx
	testl	%ecx, 8(%r13)
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	16(%r13), %rbx
	movl	(%rbx), %ecx
	cmpl	(%rsi), %ecx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	36(%r13), %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.18:
	movq	%rbx, %rdi
	callq	_LLADDR
	movl	32(%r13), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_os_memcpy
LBB0_12:
	movq	%r15, %rdi
	callq	_os_free
	movq	-88(%rbp), %rax
	leaq	(%r15,%rax,4), %rax
	xorl	%r12d, %r12d
	cmpq	%rax, %r13
	jb	LBB0_15
## %bb.13:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_14
LBB0_17:
	movq	%r15, %rdi
	callq	_os_free
LBB0_14:
	movl	$-1, %r12d
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.16:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_AF_ROUTE,4,2                   ## @AF_ROUTE
	.comm	_AF_LINK,4,2                    ## @AF_LINK
	.comm	_NET_RT_IFLIST,4,2              ## @NET_RT_IFLIST
	.comm	_RTM_IFINFO,8,3                 ## @RTM_IFINFO
	.comm	_RTA_IFP,4,2                    ## @RTA_IFP
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_errno,4,2                      ## @errno
	.comm	_DLPI_PHYSADDR_MAX,4,2          ## @DLPI_PHYSADDR_MAX
	.comm	_DLPI_SUCCESS,4,2               ## @DLPI_SUCCESS
	.comm	_DL_CURR_PHYS_ADDR,4,2          ## @DL_CURR_PHYS_ADDR
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.no_dead_strip	_eth_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eth_get
_eth_get:                               ; @eth_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AF_ROUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh9:
	adrp	x23, _AF_LINK@GOTPAGE
Lloh10:
	ldr	x23, [x23, _AF_LINK@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	wzr, w8, [sp, #24]
Lloh11:
	adrp	x8, _NET_RT_IFLIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NET_RT_IFLIST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #32]
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_17
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_os_malloc
	cbz	x0, LBB0_17
; %bb.2:
	mov	x21, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_15
; %bb.3:
	ldr	x8, [sp, #8]
	mov	x24, x21
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.4:
Lloh14:
	adrp	x25, _RTM_IFINFO@GOTPAGE
Lloh15:
	ldr	x25, [x25, _RTM_IFINFO@GOTPAGEOFF]
Lloh16:
	adrp	x26, _RTA_IFP@GOTPAGE
Lloh17:
	ldr	x26, [x26, _RTA_IFP@GOTPAGEOFF]
	mov	x24, x21
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x9, [x24, #12]
	add	x24, x24, x9, lsl #2
	add	x9, x21, x8, lsl #2
	cmp	x24, x9
	b.hs	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x24
	ldr	x9, [x22], #16
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x24, #8]
	ldr	w10, [x26]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x22]
	ldr	w10, [x23]
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [x24, #24]
	cbz	x2, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24, #36]
	mov	x1, x20
	bl	_os_memcmp
	cbnz	x0, LBB0_5
; %bb.12:
	mov	x0, x22
	bl	_LLADDR
	mov	x1, x0
	ldr	w2, [x24, #32]
	mov	x0, x19
	bl	_os_memcpy
LBB0_13:
	mov	x0, x21
	bl	_os_free
	ldr	x8, [sp, #8]
	add	x8, x21, x8, lsl #2
	cmp	x24, x8
	b.hs	LBB0_16
; %bb.14:
	mov	w0, #0
	b	LBB0_18
LBB0_15:
	mov	x0, x21
	bl	_os_free
	b	LBB0_17
LBB0_16:
Lloh18:
	adrp	x8, _ESRCH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _errno@GOTPAGE
Lloh22:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
LBB0_17:
	mov	w0, #-1
LBB0_18:
	ldr	x8, [sp, #40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_AF_ROUTE,4,2                   ; @AF_ROUTE
	.comm	_AF_LINK,4,2                    ; @AF_LINK
	.comm	_NET_RT_IFLIST,4,2              ; @NET_RT_IFLIST
	.comm	_RTM_IFINFO,8,3                 ; @RTM_IFINFO
	.comm	_RTA_IFP,4,2                    ; @RTA_IFP
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_errno,4,2                      ; @errno
	.comm	_DLPI_PHYSADDR_MAX,4,2          ; @DLPI_PHYSADDR_MAX
	.comm	_DLPI_SUCCESS,4,2               ; @DLPI_SUCCESS
	.comm	_DL_CURR_PHYS_ADDR,4,2          ; @DL_CURR_PHYS_ADDR
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.no_dead_strip	_eth_get
.subsections_via_symbols
