	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_attach
_awg_attach:                            ## @awg_attach
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%r12d, %edi
	callq	_device_get_softc
	movq	%rax, %r15
	movl	%r12d, 40(%rax)
	movq	_compat_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_ofw_bus_search_compatible
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_awg_spec@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r15), %rdx
	movl	%r12d, %edi
	callq	_bus_alloc_resources
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	leaq	28(%r15), %rbx
	movl	%r12d, %edi
	callq	_device_get_nameunit
	movq	_MTX_NETWORK_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MTX_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mtx_init
	leaq	32(%r15), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_callout_init_mtx
	leaq	24(%r15), %rdi
	movq	_awg_link_task@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%r15, %rcx
	callq	_TASK_INIT
	movl	%r12d, %edi
	callq	_awg_setup_extres
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_awg_get_eaddr
	movl	%r12d, %edi
	callq	_awg_reset
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:
	movl	%r12d, %edi
	callq	_awg_setup_dma
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movq	16(%r15), %rax
	movq	__RES_IRQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_INTR_TYPE_NET@GOTPCREL(%rip), %rsi
	movq	_INTR_MPSAFE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	movl	(%rax,%rcx,4), %esi
	movq	_awg_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	8(%r15), %rax
	subq	$8, %rsp
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	pushq	%rax
	callq	_bus_setup_intr
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_8:
	movq	_IFT_ETHER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_alloc
	movl	%eax, (%r15)
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_if_setsoftc
	movl	(%r15), %r13d
	movl	%r12d, %edi
	callq	_device_get_name
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_device_get_unit
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_if_initname
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movq	_IFF_SIMPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%r15), %edi
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_if_setflags
	movl	(%r15), %edi
	movq	_awg_start@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_if_setstartfn
	movl	(%r15), %edi
	movq	_awg_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_if_setioctlfn
	movl	(%r15), %edi
	movq	_awg_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_if_setinitfn
	movl	(%r15), %edi
	movq	_TX_DESC_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	callq	_if_setsendqlen
	movl	(%r15), %edi
	callq	_if_setsendqready
	movq	_CSUM_IP@GOTPCREL(%rip), %rax
	movq	_CSUM_UDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%r15), %edi
	movq	_CSUM_TCP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_if_sethwassist
	movl	(%r15), %edi
	movq	_IFCAP_VLAN_MTU@GOTPCREL(%rip), %rax
	movq	_IFCAP_HWCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_if_setcapabilities
	movl	(%r15), %ebx
	movl	%ebx, %edi
	callq	_if_getcapabilities
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_if_setcapenable
	movq	%r15, %rsi
	addq	$4, %rsi
	movl	(%r15), %edx
	movq	_awg_media_change@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_awg_media_status@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_BMSR_DEFCAPMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MII_PHY_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MII_OFFSET_ANY@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	_MIIF_DOPAUSE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	subq	$8, %rsp
	movl	%r12d, %edi
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_mii_attach
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	movl	%r12d, %edi
	callq	_device_printf
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_ether_ifattach
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.comm	_compat_data,4,2                ## @compat_data
	.comm	_awg_spec,4,2                   ## @awg_spec
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot allocate resources for device\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_MTX_NETWORK_LOCK,4,2           ## @MTX_NETWORK_LOCK
	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_awg_link_task,4,2              ## @awg_link_task
	.comm	__RES_IRQ,8,3                   ## @_RES_IRQ
	.comm	_INTR_TYPE_NET,4,2              ## @INTR_TYPE_NET
	.comm	_INTR_MPSAFE,4,2                ## @INTR_MPSAFE
	.comm	_awg_intr,4,2                   ## @awg_intr
L_.str.1:                               ## @.str.1
	.asciz	"cannot setup interrupt handler\n"

	.comm	_IFT_ETHER,4,2                  ## @IFT_ETHER
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_SIMPLEX,4,2                ## @IFF_SIMPLEX
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_awg_start,4,2                  ## @awg_start
	.comm	_awg_ioctl,4,2                  ## @awg_ioctl
	.comm	_awg_init,4,2                   ## @awg_init
	.comm	_TX_DESC_COUNT,8,3              ## @TX_DESC_COUNT
	.comm	_CSUM_IP,4,2                    ## @CSUM_IP
	.comm	_CSUM_UDP,4,2                   ## @CSUM_UDP
	.comm	_CSUM_TCP,4,2                   ## @CSUM_TCP
	.comm	_IFCAP_VLAN_MTU,4,2             ## @IFCAP_VLAN_MTU
	.comm	_IFCAP_HWCSUM,4,2               ## @IFCAP_HWCSUM
	.comm	_awg_media_change,4,2           ## @awg_media_change
	.comm	_awg_media_status,4,2           ## @awg_media_status
	.comm	_BMSR_DEFCAPMASK,4,2            ## @BMSR_DEFCAPMASK
	.comm	_MII_PHY_ANY,4,2                ## @MII_PHY_ANY
	.comm	_MII_OFFSET_ANY,4,2             ## @MII_OFFSET_ANY
	.comm	_MIIF_DOPAUSE,4,2               ## @MIIF_DOPAUSE
L_.str.2:                               ## @.str.2
	.asciz	"cannot attach PHY\n"

	.comm	_IFCAP_POLLING,4,2              ## @IFCAP_POLLING
	.no_dead_strip	_awg_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_attach
_awg_attach:                            ; @awg_attach
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _ETHER_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	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
	bl	_device_get_softc
	mov	x21, x0
	str	w19, [x0, #40]
Lloh8:
	adrp	x8, _compat_data@GOTPAGE
Lloh9:
	ldr	x8, [x8, _compat_data@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ofw_bus_search_compatible
	ldr	w8, [x0]
	str	w8, [x21, #36]
Lloh11:
	adrp	x8, _awg_spec@GOTPAGE
Lloh12:
	ldr	x8, [x8, _awg_spec@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x2, [x21, #16]
	mov	x0, x19
	bl	_bus_alloc_resources
	cbz	x0, LBB0_2
; %bb.1:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_device_printf
Lloh16:
	adrp	x8, _ENXIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
	b	LBB0_10
LBB0_2:
	add	x22, x21, #28
	mov	x0, x19
	bl	_device_get_nameunit
	mov	x1, x0
Lloh19:
	adrp	x8, _MTX_NETWORK_LOCK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MTX_NETWORK_LOCK@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _MTX_DEF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MTX_DEF@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_mtx_init
	add	x0, x21, #32
	mov	x1, x22
	mov	w2, #0
	bl	_callout_init_mtx
	add	x0, x21, #24
Lloh25:
	adrp	x8, _awg_link_task@GOTPAGE
Lloh26:
	ldr	x8, [x8, _awg_link_task@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x21
	bl	_TASK_INIT
	mov	x0, x19
	bl	_awg_setup_extres
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_awg_get_eaddr
	mov	x0, x19
	bl	_awg_reset
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_awg_setup_dma
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	x8, [x21, #16]
Lloh28:
	adrp	x9, __RES_IRQ@GOTPAGE
Lloh29:
	ldr	x9, [x9, __RES_IRQ@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
Lloh31:
	adrp	x8, _INTR_TYPE_NET@GOTPAGE
Lloh32:
	ldr	x8, [x8, _INTR_TYPE_NET@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _INTR_MPSAFE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh37:
	adrp	x8, _awg_intr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _awg_intr@GOTPAGEOFF]
Lloh39:
	ldr	w4, [x8]
	add	x6, x21, #8
	mov	x0, x19
	mov	x3, #0
	mov	x5, x21
	bl	_bus_setup_intr
	cbz	w0, LBB0_7
; %bb.6:
	mov	x22, x0
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh42:
	adrp	x8, _IFT_ETHER@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IFT_ETHER@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_if_alloc
	str	w0, [x21]
	mov	x1, x21
	bl	_if_setsoftc
	ldr	w22, [x21]
	mov	x0, x19
	bl	_device_get_name
	mov	x23, x0
	mov	x0, x19
	bl	_device_get_unit
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_if_initname
	ldr	w0, [x21]
Lloh45:
	adrp	x8, _IFF_BROADCAST@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IFF_BROADCAST@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _IFF_SIMPLEX@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IFF_SIMPLEX@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh51:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh52:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_if_setflags
	ldr	w0, [x21]
Lloh54:
	adrp	x8, _awg_start@GOTPAGE
Lloh55:
	ldr	x8, [x8, _awg_start@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_if_setstartfn
	ldr	w0, [x21]
Lloh57:
	adrp	x8, _awg_ioctl@GOTPAGE
Lloh58:
	ldr	x8, [x8, _awg_ioctl@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_if_setioctlfn
	ldr	w0, [x21]
Lloh60:
	adrp	x8, _awg_init@GOTPAGE
Lloh61:
	ldr	x8, [x8, _awg_init@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_if_setinitfn
	ldr	w0, [x21]
Lloh63:
	adrp	x8, _TX_DESC_COUNT@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TX_DESC_COUNT@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	sub	x1, x8, #1
	bl	_if_setsendqlen
	ldr	w0, [x21]
	bl	_if_setsendqready
	ldr	w0, [x21]
Lloh66:
	adrp	x8, _CSUM_IP@GOTPAGE
Lloh67:
	ldr	x8, [x8, _CSUM_IP@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _CSUM_UDP@GOTPAGE
Lloh70:
	ldr	x9, [x9, _CSUM_UDP@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh72:
	adrp	x9, _CSUM_TCP@GOTPAGE
Lloh73:
	ldr	x9, [x9, _CSUM_TCP@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_if_sethwassist
Lloh75:
	adrp	x8, _IFCAP_VLAN_MTU@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IFCAP_VLAN_MTU@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _IFCAP_HWCSUM@GOTPAGE
Lloh79:
	ldr	x9, [x9, _IFCAP_HWCSUM@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_if_setcapabilities
	ldr	w22, [x21]
	mov	x0, x22
	bl	_if_getcapabilities
	mov	x1, x0
	mov	x0, x22
	bl	_if_setcapenable
	mov	x1, x21
	ldr	w2, [x1], #4
Lloh81:
	adrp	x8, _awg_media_change@GOTPAGE
Lloh82:
	ldr	x8, [x8, _awg_media_change@GOTPAGEOFF]
Lloh83:
	ldr	w3, [x8]
Lloh84:
	adrp	x8, _awg_media_status@GOTPAGE
Lloh85:
	ldr	x8, [x8, _awg_media_status@GOTPAGEOFF]
Lloh86:
	ldr	w4, [x8]
Lloh87:
	adrp	x8, _BMSR_DEFCAPMASK@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BMSR_DEFCAPMASK@GOTPAGEOFF]
Lloh89:
	ldr	w5, [x8]
Lloh90:
	adrp	x8, _MII_PHY_ANY@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MII_PHY_ANY@GOTPAGEOFF]
Lloh92:
	ldr	w6, [x8]
Lloh93:
	adrp	x8, _MII_OFFSET_ANY@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MII_OFFSET_ANY@GOTPAGEOFF]
Lloh95:
	ldr	w7, [x8]
Lloh96:
	adrp	x8, _MIIF_DOPAUSE@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MIIF_DOPAUSE@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	str	w8, [sp, #-16]!
	mov	x0, x19
	bl	_mii_attach
	add	sp, sp, #16
	mov	x22, x0
	cbz	w0, LBB0_12
; %bb.8:
Lloh99:
	adrp	x1, l_.str.2@PAGE
Lloh100:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_device_printf
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh101:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh102:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x22
	sub	sp, x29, #48
	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
LBB0_12:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ether_ifattach
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.comm	_compat_data,4,2                ; @compat_data
	.comm	_awg_spec,4,2                   ; @awg_spec
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot allocate resources for device\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_MTX_NETWORK_LOCK,4,2           ; @MTX_NETWORK_LOCK
	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_awg_link_task,4,2              ; @awg_link_task
	.comm	__RES_IRQ,8,3                   ; @_RES_IRQ
	.comm	_INTR_TYPE_NET,4,2              ; @INTR_TYPE_NET
	.comm	_INTR_MPSAFE,4,2                ; @INTR_MPSAFE
	.comm	_awg_intr,4,2                   ; @awg_intr
l_.str.1:                               ; @.str.1
	.asciz	"cannot setup interrupt handler\n"

	.comm	_IFT_ETHER,4,2                  ; @IFT_ETHER
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_SIMPLEX,4,2                ; @IFF_SIMPLEX
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_awg_start,4,2                  ; @awg_start
	.comm	_awg_ioctl,4,2                  ; @awg_ioctl
	.comm	_awg_init,4,2                   ; @awg_init
	.comm	_TX_DESC_COUNT,8,3              ; @TX_DESC_COUNT
	.comm	_CSUM_IP,4,2                    ; @CSUM_IP
	.comm	_CSUM_UDP,4,2                   ; @CSUM_UDP
	.comm	_CSUM_TCP,4,2                   ; @CSUM_TCP
	.comm	_IFCAP_VLAN_MTU,4,2             ; @IFCAP_VLAN_MTU
	.comm	_IFCAP_HWCSUM,4,2               ; @IFCAP_HWCSUM
	.comm	_awg_media_change,4,2           ; @awg_media_change
	.comm	_awg_media_status,4,2           ; @awg_media_status
	.comm	_BMSR_DEFCAPMASK,4,2            ; @BMSR_DEFCAPMASK
	.comm	_MII_PHY_ANY,4,2                ; @MII_PHY_ANY
	.comm	_MII_OFFSET_ANY,4,2             ; @MII_OFFSET_ANY
	.comm	_MIIF_DOPAUSE,4,2               ; @MIIF_DOPAUSE
l_.str.2:                               ; @.str.2
	.asciz	"cannot attach PHY\n"

	.comm	_IFCAP_POLLING,4,2              ; @IFCAP_POLLING
	.no_dead_strip	_awg_attach
.subsections_via_symbols
