	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idio_24_probe
_idio_24_probe:                         ## @idio_24_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, %r13
	leaq	4(%rdi), %r15
	callq	_pci_name
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_pcim_enable_device
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movl	$2, %edi
	callq	_BIT
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_6:
	movq	%r13, %rdi
	callq	_pcim_iomap_table
	movq	16(%rax), %rax
	movq	%rax, 64(%r12)
	movq	%r14, (%r12)
	movq	%r15, 56(%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movl	$-1, 8(%r12)
	movq	_IDIO_24_NGPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
	movq	_idio_24_names@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	_idio_24_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r12)
	movq	_idio_24_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_idio_24_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movq	_idio_24_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_idio_24_gpio_get_multiple@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_idio_24_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_idio_24_gpio_set_multiple@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	%r12, %rdi
	addq	$72, %rdi
	callq	_raw_spin_lock_init
	movq	64(%r12), %rsi
	xorl	%edi, %edi
	callq	_iowrite8
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_9:
	callq	_dev_err
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_idio_24_irqchip@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_gpiochip_irqchip_add
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_13:
	movl	(%r13), %esi
	movq	_idio_24_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.14:
	movl	%eax, %r14d
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r14d, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enable PCI device (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to map PCI I/O addresses (%d)\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_IDIO_24_NGPIO,4,2              ## @IDIO_24_NGPIO
	.comm	_idio_24_names,4,2              ## @idio_24_names
	.comm	_idio_24_gpio_get_direction,4,2 ## @idio_24_gpio_get_direction
	.comm	_idio_24_gpio_direction_input,4,2 ## @idio_24_gpio_direction_input
	.comm	_idio_24_gpio_direction_output,4,2 ## @idio_24_gpio_direction_output
	.comm	_idio_24_gpio_get,4,2           ## @idio_24_gpio_get
	.comm	_idio_24_gpio_get_multiple,4,2  ## @idio_24_gpio_get_multiple
	.comm	_idio_24_gpio_set,4,2           ## @idio_24_gpio_set
	.comm	_idio_24_gpio_set_multiple,4,2  ## @idio_24_gpio_set_multiple
L_.str.2:                               ## @.str.2
	.asciz	"GPIO registering failed (%d)\n"

	.comm	_idio_24_irqchip,4,2            ## @idio_24_irqchip
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
L_.str.3:                               ## @.str.3
	.asciz	"Could not add irqchip (%d)\n"

	.comm	_idio_24_irq_handler,4,2        ## @idio_24_irq_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.4:                               ## @.str.4
	.asciz	"IRQ handler registering failed (%d)\n"

	.no_dead_strip	_idio_24_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idio_24_probe
_idio_24_probe:                         ; @idio_24_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	add	x19, x0, #4
	bl	_pci_name
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	bl	_pcim_enable_device
	cbz	w0, LBB0_4
; %bb.2:
	mov	x23, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_13
LBB0_4:
	mov	w0, #2
	bl	_BIT
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_pcim_iomap_regions
	cbz	w0, LBB0_6
; %bb.5:
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_6:
	mov	x0, x21
	bl	_pcim_iomap_table
	ldr	x8, [x0, #16]
	str	x20, [x22]
Lloh10:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x22, #48]
	mov	w9, #-1
Lloh13:
	adrp	x10, _IDIO_24_NGPIO@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IDIO_24_NGPIO@GOTPAGEOFF]
Lloh15:
	adrp	x11, _idio_24_names@GOTPAGE
Lloh16:
	ldr	x11, [x11, _idio_24_names@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	ldr	w11, [x11]
	stp	w11, w10, [x22, #40]
Lloh19:
	adrp	x10, _idio_24_gpio_get_direction@GOTPAGE
Lloh20:
	ldr	x10, [x10, _idio_24_gpio_get_direction@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
Lloh22:
	adrp	x11, _idio_24_gpio_direction_input@GOTPAGE
Lloh23:
	ldr	x11, [x11, _idio_24_gpio_direction_input@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	stp	w11, w10, [x22, #32]
Lloh25:
	adrp	x10, _idio_24_gpio_direction_output@GOTPAGE
Lloh26:
	ldr	x10, [x10, _idio_24_gpio_direction_output@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _idio_24_gpio_get@GOTPAGE
Lloh29:
	ldr	x11, [x11, _idio_24_gpio_get@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	stp	w11, w10, [x22, #24]
Lloh31:
	adrp	x10, _idio_24_gpio_get_multiple@GOTPAGE
Lloh32:
	ldr	x10, [x10, _idio_24_gpio_get_multiple@GOTPAGEOFF]
Lloh33:
	adrp	x11, _idio_24_gpio_set@GOTPAGE
Lloh34:
	ldr	x11, [x11, _idio_24_gpio_set@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
Lloh36:
	ldr	w11, [x11]
	stp	w11, w10, [x22, #16]
Lloh37:
	adrp	x10, _idio_24_gpio_set_multiple@GOTPAGE
Lloh38:
	ldr	x10, [x10, _idio_24_gpio_set_multiple@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	stp	w9, w10, [x22, #8]
	add	x0, x22, #72
	stp	x19, x8, [x22, #56]
	bl	_raw_spin_lock_init
	ldr	x1, [x22, #64]
	mov	w0, #0
	bl	_iowrite8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x22
	bl	_devm_gpiochip_add_data
	cbz	w0, LBB0_8
; %bb.7:
	mov	x23, x0
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_8:
Lloh42:
	adrp	x8, _handle_edge_irq@GOTPAGE
Lloh43:
	ldr	x8, [x8, _handle_edge_irq@GOTPAGEOFF]
Lloh44:
	ldr	w3, [x8]
Lloh45:
	adrp	x8, _IRQ_TYPE_NONE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh47:
	ldr	w4, [x8]
Lloh48:
	adrp	x1, _idio_24_irqchip@GOTPAGE
Lloh49:
	ldr	x1, [x1, _idio_24_irqchip@GOTPAGEOFF]
	mov	x0, x22
	mov	w2, #0
	bl	_gpiochip_irqchip_add
	cbz	w0, LBB0_10
; %bb.9:
	mov	x23, x0
Lloh50:
	adrp	x1, l_.str.3@PAGE
Lloh51:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_10:
	ldr	w1, [x21]
Lloh52:
	adrp	x8, _idio_24_irq_handler@GOTPAGE
Lloh53:
	ldr	x8, [x8, _idio_24_irq_handler@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
Lloh55:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh57:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x20
	mov	x5, x22
	bl	_devm_request_irq
	mov	x23, x0
	cbz	w0, LBB0_13
; %bb.11:
Lloh58:
	adrp	x1, l_.str.4@PAGE
Lloh59:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x19
	mov	x2, x23
	bl	_dev_err
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enable PCI device (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to map PCI I/O addresses (%d)\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_IDIO_24_NGPIO,4,2              ; @IDIO_24_NGPIO
	.comm	_idio_24_names,4,2              ; @idio_24_names
	.comm	_idio_24_gpio_get_direction,4,2 ; @idio_24_gpio_get_direction
	.comm	_idio_24_gpio_direction_input,4,2 ; @idio_24_gpio_direction_input
	.comm	_idio_24_gpio_direction_output,4,2 ; @idio_24_gpio_direction_output
	.comm	_idio_24_gpio_get,4,2           ; @idio_24_gpio_get
	.comm	_idio_24_gpio_get_multiple,4,2  ; @idio_24_gpio_get_multiple
	.comm	_idio_24_gpio_set,4,2           ; @idio_24_gpio_set
	.comm	_idio_24_gpio_set_multiple,4,2  ; @idio_24_gpio_set_multiple
l_.str.2:                               ; @.str.2
	.asciz	"GPIO registering failed (%d)\n"

	.comm	_idio_24_irqchip,4,2            ; @idio_24_irqchip
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
l_.str.3:                               ; @.str.3
	.asciz	"Could not add irqchip (%d)\n"

	.comm	_idio_24_irq_handler,4,2        ; @idio_24_irq_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.4:                               ; @.str.4
	.asciz	"IRQ handler registering failed (%d)\n"

	.no_dead_strip	_idio_24_probe
.subsections_via_symbols
