	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ish_probe
_ish_probe:                             ## @ish_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_ish_invalid_pci_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pci_dev_present
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	leaq	12(%r12), %r14
	movq	%r12, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	callq	_pci_set_master
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	callq	_ish_dev_init
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_to_ish_hw
	movq	%rax, %rbx
	movq	_ish_event_tracer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	%r12, %rdi
	callq	_pcim_iomap_table
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r12, 16(%r15)
	movq	_PCI_IRQ_ALL_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_pci_alloc_irq_vectors
	cmpl	$0, 8(%r12)
	jne	LBB0_15
## %bb.13:
	cmpl	$0, 4(%r12)
	jne	LBB0_15
## %bb.14:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_16
LBB0_15:
	xorl	%ecx, %ecx
LBB0_16:
	movl	(%r12), %esi
	movq	_ish_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_18:
	movl	8(%r15), %edi
	movq	%r15, %rsi
	callq	_dev_set_drvdata
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_init_waitqueue_head
	movq	%r15, %rdi
	callq	_init_waitqueue_head
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ish_init                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ish_invalid_pci_ids,4,2        ## @ish_invalid_pci_ids
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ISH: Failed to enable PCI device\n"

	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
L_.str.1:                               ## @.str.1
	.asciz	"ISH: Failed to get PCI regions\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ish_event_tracer,4,2           ## @ish_event_tracer
	.comm	_PCI_IRQ_ALL_TYPES,4,2          ## @PCI_IRQ_ALL_TYPES
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.comm	_ish_irq_handler,4,2            ## @ish_irq_handler
L_.str.2:                               ## @.str.2
	.asciz	"ISH: request IRQ %d failed\n"

	.no_dead_strip	_ish_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ish_probe
_ish_probe:                             ; @ish_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _ish_invalid_pci_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ish_invalid_pci_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_pci_dev_present
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_3:
	add	x19, x20, #12
	mov	x0, x20
	bl	_pcim_enable_device
	cbz	w0, LBB0_5
; %bb.4:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_pci_set_master
Lloh7:
	adrp	x23, _KBUILD_MODNAME@GOTPAGE
Lloh8:
	ldr	x23, [x23, _KBUILD_MODNAME@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	mov	w1, #1
	bl	_pcim_iomap_regions
	cbz	w0, LBB0_9
; %bb.6:
	mov	x22, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_dev_err
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	mov	x0, x20
	bl	_ish_dev_init
	cbz	x0, LBB0_12
; %bb.10:
	mov	x21, x0
	bl	_to_ish_hw
	mov	x22, x0
Lloh11:
	adrp	x8, _ish_event_tracer@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ish_event_tracer@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	mov	x0, x20
	bl	_pcim_iomap_table
	ldr	w8, [x0]
	str	w8, [x22]
	str	x20, [x21, #16]
Lloh14:
	adrp	x8, _PCI_IRQ_ALL_TYPES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCI_IRQ_ALL_TYPES@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_pci_alloc_irq_vectors
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_13
; %bb.11:
	mov	x3, #0
	b	LBB0_14
LBB0_12:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_13:
	ldr	w8, [x20, #4]
Lloh19:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x3, x9, xzr, eq
LBB0_14:
	ldr	w1, [x20]
Lloh22:
	adrp	x8, _ish_irq_handler@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ish_irq_handler@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	w4, [x23]
	mov	x0, x19
	mov	x5, x21
	bl	_devm_request_irq
	cbz	w0, LBB0_16
; %bb.15:
	mov	x22, x0
	ldr	w8, [x20]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_16:
	ldr	w0, [x21, #8]
	mov	x1, x21
	bl	_dev_set_drvdata
	add	x0, x21, #4
	bl	_init_waitqueue_head
	mov	x0, x21
	bl	_init_waitqueue_head
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ish_init
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ish_invalid_pci_ids,4,2        ; @ish_invalid_pci_ids
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ISH: Failed to enable PCI device\n"

	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
l_.str.1:                               ; @.str.1
	.asciz	"ISH: Failed to get PCI regions\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ish_event_tracer,4,2           ; @ish_event_tracer
	.comm	_PCI_IRQ_ALL_TYPES,4,2          ; @PCI_IRQ_ALL_TYPES
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.comm	_ish_irq_handler,4,2            ; @ish_irq_handler
l_.str.2:                               ; @.str.2
	.asciz	"ISH: request IRQ %d failed\n"

	.no_dead_strip	_ish_probe
.subsections_via_symbols
