	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilo_probe
_ilo_probe:                             ## @ilo_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, %r14
	movq	_ilo_blacklist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_pci_match_id
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	addq	$4, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	jmp	LBB0_2
LBB0_3:
	movq	_max_ccb@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_MAX_CCB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jg	LBB0_5
## %bb.4:
	movq	_MIN_CCB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jge	LBB0_6
LBB0_5:
	movl	%eax, (%r13)
LBB0_6:
	movq	_MAX_ILO_DEV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movq	_ilo_hwdev@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx,%rbx,4)
	je	LBB0_10
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_9
	jmp	LBB0_12
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	%eax, %ebx
	jne	LBB0_13
LBB0_12:
	addq	$4, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_30:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$1, (%rdx,%rbx,4)
	movl	(%rcx), %eax
	cmpl	%eax, %ebx
	je	LBB0_12
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.14:
	movq	%rax, %r15
	movq	%r14, 16(%rax)
	leaq	12(%rax), %rdi
	callq	_spin_lock_init
	leaq	8(%r15), %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	callq	_pci_enable_device
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.15:
	movq	%r14, %rdi
	callq	_pci_set_master
	movq	_ILO_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_request_regions
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ilo_map_device
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.17:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pci_set_drvdata
	movq	%r15, %rdi
	callq	_clear_device
	movl	(%r14), %edi
	movq	_ilo_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %r8
	callq	_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.18:
	movq	%r15, %rdi
	callq	_ilo_enable_interrupts
	movq	_ilo_fops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_cdev_init
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	(%r13), %esi
	imull	%ebx, %esi
	movq	_ilo_major@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MKDEV
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_cdev_add
	testl	%eax, %eax
	je	LBB0_19
## %bb.25:
	movl	%eax, %r12d
	leaq	4(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	movq	%r15, %rdi
	callq	_ilo_disable_interrupts
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_free_irq
LBB0_26:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ilo_unmap_device
LBB0_27:
	movq	%r14, %rdi
	callq	_pci_release_regions
LBB0_28:
	movq	%r15, %rdi
	callq	_kfree
LBB0_29:
	movq	_ilo_hwdev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movl	$0, (%rax,%rcx,4)
	jmp	LBB0_30
LBB0_19:
	cmpl	$0, (%r13)
	jle	LBB0_20
## %bb.21:
	addq	$4, %r14
	xorl	%r15d, %r15d
	movq	_ilo_major@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	incl	%r15d
	xorl	%r12d, %r12d
	cmpl	(%r13), %r15d
	movq	_ilo_major@GOTPCREL(%rip), %rax
	jge	LBB0_30
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	_ilo_class@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_MKDEV
	movl	%r15d, (%rsp)
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	leaq	L_.str.4(%rip), %r8
	movl	%ebx, %r9d
	callq	_device_create
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_24
LBB0_20:
	xorl	%r12d, %r12d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_ilo_blacklist,4,2              ## @ilo_blacklist
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not supported on this device\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_max_ccb,4,2                    ## @max_ccb
	.comm	_MAX_CCB,4,2                    ## @MAX_CCB
	.comm	_MIN_CCB,4,2                    ## @MIN_CCB
	.comm	_MAX_ILO_DEV,4,2                ## @MAX_ILO_DEV
	.comm	_ilo_hwdev,8,3                  ## @ilo_hwdev
L_.str.1:                               ## @.str.1
	.asciz	"Error finding free device\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ILO_NAME,4,2                   ## @ILO_NAME
	.comm	_ilo_isr,4,2                    ## @ilo_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.2:                               ## @.str.2
	.asciz	"hpilo"

	.comm	_ilo_fops,4,2                   ## @ilo_fops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_ilo_major,4,2                  ## @ilo_major
L_.str.3:                               ## @.str.3
	.asciz	"Could not add cdev\n"

	.comm	_ilo_class,4,2                  ## @ilo_class
L_.str.4:                               ## @.str.4
	.asciz	"hpilo!d%dccb%d"

L_.str.5:                               ## @.str.5
	.asciz	"Could not create files\n"

	.no_dead_strip	_ilo_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilo_probe
_ilo_probe:                             ; @ilo_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x8, _ilo_blacklist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ilo_blacklist@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_pci_match_id
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x20, #4
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	b	LBB0_11
LBB0_2:
Lloh5:
	adrp	x25, _max_ccb@GOTPAGE
Lloh6:
	ldr	x25, [x25, _max_ccb@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh7:
	adrp	x8, _MAX_CCB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_CCB@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w9, w8
	b.gt	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _MIN_CCB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MIN_CCB@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ge	LBB0_5
LBB0_4:
	str	w8, [x25]
LBB0_5:
Lloh13:
	adrp	x9, _MAX_ILO_DEV@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAX_ILO_DEV@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x19, #0
Lloh15:
	adrp	x10, _ilo_hwdev@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ilo_hwdev@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x19, lsl #2]
	cbz	w11, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	cmp	x8, x19
	b.ne	LBB0_7
	b	LBB0_10
LBB0_9:
	mov	w19, #0
	cmp	w19, w8
	b.ne	LBB0_14
LBB0_10:
	add	x0, x20, #4
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_11:
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w8, #1
	str	w8, [x10, x19, lsl #2]
	ldr	w8, [x9]
	cmp	w19, w8
	b.eq	LBB0_10
LBB0_14:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
Lloh26:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_24
; %bb.15:
	mov	x21, x0
	str	x20, [x0, #16]
	add	x0, x0, #12
	bl	_spin_lock_init
	add	x0, x21, #8
	bl	_spin_lock_init
	add	x0, x21, #4
	bl	_spin_lock_init
	mov	x0, x20
	bl	_pci_enable_device
	mov	x22, x0
	cbnz	w0, LBB0_23
; %bb.16:
	mov	x0, x20
	bl	_pci_set_master
Lloh29:
	adrp	x8, _ILO_NAME@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ILO_NAME@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pci_request_regions
	mov	x22, x0
	cbnz	w0, LBB0_23
; %bb.17:
	mov	x0, x20
	mov	x1, x21
	bl	_ilo_map_device
	mov	x22, x0
	cbnz	w0, LBB0_22
; %bb.18:
	mov	x0, x20
	mov	x1, x21
	bl	_pci_set_drvdata
	mov	x0, x21
	bl	_clear_device
	ldr	w0, [x20]
Lloh32:
	adrp	x8, _ilo_isr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ilo_isr@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x3, l_.str.2@PAGE
Lloh39:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x4, x21
	bl	_request_irq
	mov	x22, x0
	cbnz	w0, LBB0_21
; %bb.19:
	mov	x0, x21
	bl	_ilo_enable_interrupts
Lloh40:
	adrp	x1, _ilo_fops@GOTPAGE
Lloh41:
	ldr	x1, [x1, _ilo_fops@GOTPAGEOFF]
	mov	x0, x21
	bl	_cdev_init
Lloh42:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	w8, [x25]
	mul	w1, w8, w19
Lloh45:
	adrp	x26, _ilo_major@GOTPAGE
Lloh46:
	ldr	x26, [x26, _ilo_major@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_MKDEV
	mov	x1, x0
	ldr	w2, [x25]
	mov	x0, x21
	bl	_cdev_add
	cbz	w0, LBB0_26
; %bb.20:
	mov	x22, x0
	add	x0, x20, #4
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	mov	x0, x21
	bl	_ilo_disable_interrupts
	ldr	w0, [x20]
	mov	x1, x21
	bl	_free_irq
LBB0_21:
	mov	x0, x20
	mov	x1, x21
	bl	_ilo_unmap_device
LBB0_22:
	mov	x0, x20
	bl	_pci_release_regions
LBB0_23:
	mov	x0, x21
	bl	_kfree
	b	LBB0_25
LBB0_24:
	neg	w22, w22
LBB0_25:
Lloh49:
	adrp	x8, _ilo_hwdev@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ilo_hwdev@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	wzr, [x8, w19, uxtw #2]
	b	LBB0_12
LBB0_26:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.27:
	mov	w21, #0
	add	x20, x20, #4
Lloh52:
	adrp	x27, _ilo_class@GOTPAGE
Lloh53:
	ldr	x27, [x27, _ilo_class@GOTPAGEOFF]
Lloh54:
	adrp	x23, l_.str.4@PAGE
Lloh55:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh56:
	adrp	x24, l_.str.5@PAGE
Lloh57:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	w22, #0
	add	w21, w21, #1
	ldr	w8, [x25]
	cmp	w21, w8
	b.ge	LBB0_12
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x27]
	ldr	w0, [x26]
	mov	x1, x21
	bl	_MKDEV
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	mov	x3, #0
	mov	x4, x23
	mov	x5, x19
	mov	x6, x21
	bl	_device_create
	bl	_IS_ERR
	cbz	x0, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_dev_err
	b	LBB0_28
LBB0_31:
	mov	w22, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_ilo_blacklist,4,2              ; @ilo_blacklist
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not supported on this device\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_max_ccb,4,2                    ; @max_ccb
	.comm	_MAX_CCB,4,2                    ; @MAX_CCB
	.comm	_MIN_CCB,4,2                    ; @MIN_CCB
	.comm	_MAX_ILO_DEV,4,2                ; @MAX_ILO_DEV
	.comm	_ilo_hwdev,8,3                  ; @ilo_hwdev
l_.str.1:                               ; @.str.1
	.asciz	"Error finding free device\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ILO_NAME,4,2                   ; @ILO_NAME
	.comm	_ilo_isr,4,2                    ; @ilo_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.2:                               ; @.str.2
	.asciz	"hpilo"

	.comm	_ilo_fops,4,2                   ; @ilo_fops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_ilo_major,4,2                  ; @ilo_major
l_.str.3:                               ; @.str.3
	.asciz	"Could not add cdev\n"

	.comm	_ilo_class,4,2                  ; @ilo_class
l_.str.4:                               ; @.str.4
	.asciz	"hpilo!d%dccb%d"

l_.str.5:                               ; @.str.5
	.asciz	"Could not create files\n"

	.no_dead_strip	_ilo_probe
.subsections_via_symbols
