	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt_pci_probe
_idt_pci_probe:                         ## @idt_pci_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	%rsi, %r14
	movq	%rdi, %r15
	callq	_idt_check_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_idt_create_dev
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_idt_init_pci
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	%r14, %rdi
	callq	_idt_scan_ports
	movq	%r14, %rdi
	callq	_idt_init_link
	movq	%r14, %rdi
	callq	_idt_init_mws
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_idt_init_msg
	movq	%r14, %rdi
	callq	_idt_init_temp
	movq	%r14, %rdi
	callq	_idt_init_isr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_idt_register_device
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_idt_deinit_isr
LBB0_8:
	movq	%r14, %rdi
	callq	_idt_deinit_link
	movq	%r14, %rdi
	callq	_idt_deinit_pci
	jmp	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	callq	_idt_init_dbgfs
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IDT NTB device is ready"

	.no_dead_strip	_idt_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt_pci_probe
_idt_pci_probe:                         ; @idt_pci_probe
	.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	x20, x1
	mov	x19, x0
	bl	_idt_check_setup
	mov	x21, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x21
	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
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_idt_create_dev
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_4
; %bb.3:
	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
	b	_PTR_ERR
LBB0_4:
	mov	x0, x20
	bl	_idt_init_pci
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.5:
	mov	x0, x20
	bl	_idt_scan_ports
	mov	x0, x20
	bl	_idt_init_link
	mov	x0, x20
	bl	_idt_init_mws
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_idt_init_msg
	mov	x0, x20
	bl	_idt_init_temp
	mov	x0, x20
	bl	_idt_init_isr
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_idt_register_device
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_idt_deinit_isr
LBB0_9:
	mov	x0, x20
	bl	_idt_deinit_link
	mov	x0, x20
	bl	_idt_deinit_pci
	b	LBB0_1
LBB0_10:
	mov	x0, x20
	bl	_idt_init_dbgfs
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IDT NTB device is ready"

	.no_dead_strip	_idt_pci_probe
.subsections_via_symbols
