	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_probe
_ide_probe:                             ## @ide_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$16, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%rax)
	movq	%rax, 8(%rbx)
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	movq	_CONF_AUTO_SET_IO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CONF_AUTO_SET_VPP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_CONF_AUTO_CHECK_VCC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ide_config                     ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ide_attach()\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CONF_ENABLE_IRQ,4,2            ## @CONF_ENABLE_IRQ
	.comm	_CONF_AUTO_SET_IO,4,2           ## @CONF_AUTO_SET_IO
	.comm	_CONF_AUTO_SET_VPP,4,2          ## @CONF_AUTO_SET_VPP
	.comm	_CONF_AUTO_CHECK_VCC,4,2        ## @CONF_AUTO_CHECK_VCC
	.no_dead_strip	_ide_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_probe
_ide_probe:                             ; @ide_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
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	str	x19, [x0]
Lloh5:
	adrp	x8, _CONF_ENABLE_IRQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CONF_ENABLE_IRQ@GOTPAGEOFF]
	str	x0, [x19, #8]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CONF_AUTO_SET_IO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CONF_AUTO_SET_IO@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _CONF_AUTO_SET_VPP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CONF_AUTO_SET_VPP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _CONF_AUTO_CHECK_VCC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CONF_AUTO_CHECK_VCC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ide_config
LBB0_2:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ide_attach()\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CONF_ENABLE_IRQ,4,2            ; @CONF_ENABLE_IRQ
	.comm	_CONF_AUTO_SET_IO,4,2           ; @CONF_AUTO_SET_IO
	.comm	_CONF_AUTO_SET_VPP,4,2          ; @CONF_AUTO_SET_VPP
	.comm	_CONF_AUTO_CHECK_VCC,4,2        ; @CONF_AUTO_CHECK_VCC
	.no_dead_strip	_ide_probe
.subsections_via_symbols
