	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addq	$16, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	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, 8(%r14)
	movl	$1, (%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
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xirc2ps_config                 ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attach()\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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
	add	x0, x0, #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	w0, #24
	bl	_alloc_etherdev
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_netdev_priv
	stp	x19, x20, [x0, #8]
	mov	w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x8, _netdev_ops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _netdev_ops@GOTPAGEOFF]
Lloh4:
	adrp	x9, _netdev_ethtool_ops@GOTPAGE
Lloh5:
	ldr	x9, [x9, _netdev_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #8]
Lloh6:
	adrp	x8, _TX_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_TIMEOUT@GOTPAGEOFF]
	str	x20, [x19, #8]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh9:
	adrp	x8, _xirc2ps_tx_timeout_task@GOTPAGE
Lloh10:
	ldr	x8, [x8, _xirc2ps_tx_timeout_task@GOTPAGEOFF]
Lloh11:
	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:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attach()\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.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
