	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xirc2ps_probe
_xirc2ps_probe:                         ## @xirc2ps_probe
	.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
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_DEBUG
	movl	$24, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rbx, 16(%rax)
	movq	%r14, 8(%rax)
	movq	%rbx, 32(%r14)
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r14)
	movq	_INT_MEMORY_AND_IO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r14)
	movl	$1, 16(%r14)
	movq	_xirc2ps_interrupt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movq	%rbx, (%r14)
	movq	_netdev_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rbx)
	movq	_netdev_ethtool_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rbx)
	movq	_TX_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	movq	_xirc2ps_tx_timeout_task@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_INIT_WORK
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xirc2ps_config                 ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attach()\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONF_ENABLE_IRQ,4,2            ## @CONF_ENABLE_IRQ
	.comm	_INT_MEMORY_AND_IO,4,2          ## @INT_MEMORY_AND_IO
	.comm	_xirc2ps_interrupt,4,2          ## @xirc2ps_interrupt
	.comm	_netdev_ops,4,2                 ## @netdev_ops
	.comm	_netdev_ethtool_ops,4,2         ## @netdev_ethtool_ops
	.comm	_TX_TIMEOUT,4,2                 ## @TX_TIMEOUT
	.comm	_xirc2ps_tx_timeout_task,4,2    ## @xirc2ps_tx_timeout_task
	.no_dead_strip	_xirc2ps_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xirc2ps_probe
_xirc2ps_probe:                         ; @xirc2ps_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_DEBUG
	mov	w0, #24
	bl	_alloc_etherdev
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_netdev_priv
	stp	x19, x20, [x0, #8]
	str	x20, [x19, #32]
Lloh2:
	adrp	x8, _CONF_ENABLE_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CONF_ENABLE_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh5:
	adrp	x8, _INT_MEMORY_AND_IO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_MEMORY_AND_IO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x19, #16]
Lloh8:
	adrp	x8, _xirc2ps_interrupt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xirc2ps_interrupt@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh11:
	adrp	x8, _netdev_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _netdev_ops@GOTPAGEOFF]
Lloh13:
	adrp	x9, _netdev_ethtool_ops@GOTPAGE
Lloh14:
	ldr	x9, [x9, _netdev_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #8]
Lloh15:
	adrp	x8, _TX_TIMEOUT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TX_TIMEOUT@GOTPAGEOFF]
	str	x20, [x19]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh18:
	adrp	x8, _xirc2ps_tx_timeout_task@GOTPAGE
Lloh19:
	ldr	x8, [x8, _xirc2ps_tx_timeout_task@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xirc2ps_config
LBB0_2:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attach()\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONF_ENABLE_IRQ,4,2            ; @CONF_ENABLE_IRQ
	.comm	_INT_MEMORY_AND_IO,4,2          ; @INT_MEMORY_AND_IO
	.comm	_xirc2ps_interrupt,4,2          ; @xirc2ps_interrupt
	.comm	_netdev_ops,4,2                 ; @netdev_ops
	.comm	_netdev_ethtool_ops,4,2         ; @netdev_ethtool_ops
	.comm	_TX_TIMEOUT,4,2                 ; @TX_TIMEOUT
	.comm	_xirc2ps_tx_timeout_task,4,2    ; @xirc2ps_tx_timeout_task
	.no_dead_strip	_xirc2ps_probe
.subsections_via_symbols
