	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixpdev_alloc                   ## -- Begin function ixpdev_alloc
	.p2align	4, 0x90
_ixpdev_alloc:                          ## @ixpdev_alloc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_alloc_etherdev
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ixpdev_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, 24(%rax)
	leaq	16(%rax), %rsi
	movq	_ixpdev_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$64, %ecx
	callq	_netif_napi_add
	movl	%r14d, (%r15)
	movq	$0, 8(%r15)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixpdev_netdev_ops,4,2          ## @ixpdev_netdev_ops
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_HW_CSUM,4,2            ## @NETIF_F_HW_CSUM
	.comm	_ixpdev_poll,4,2                ## @ixpdev_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixpdev_alloc                   ; -- Begin function ixpdev_alloc
	.p2align	2
_ixpdev_alloc:                          ; @ixpdev_alloc
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_alloc_etherdev
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ixpdev_netdev_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ixpdev_netdev_ops@GOTPAGEOFF]
	str	x8, [x20, #8]
Lloh2:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh4:
	adrp	x9, _NETIF_F_HW_CSUM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	mov	x0, x20
	bl	_netdev_priv
	mov	x21, x0
	str	x20, [x0, #24]
	add	x1, x0, #16
Lloh8:
	adrp	x8, _ixpdev_poll@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ixpdev_poll@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #64
	bl	_netif_napi_add
	str	w19, [x21]
	str	xzr, [x21, #8]
LBB0_2:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ixpdev_netdev_ops,4,2          ; @ixpdev_netdev_ops
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_HW_CSUM,4,2            ; @NETIF_F_HW_CSUM
	.comm	_ixpdev_poll,4,2                ; @ixpdev_poll
.subsections_via_symbols
