	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_gpio_chip_init
_omap_gpio_chip_init:                   ## @omap_gpio_chip_init
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	_omap_gpio_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rdi), %r14
	movl	%eax, 116(%rdi)
	movq	_omap_gpio_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rdi)
	movq	_omap_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 108(%rdi)
	movq	_omap_gpio_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rdi)
	movq	_omap_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rdi)
	movq	_omap_gpio_get_multiple@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rdi)
	movq	_omap_gpio_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rdi)
	movq	_omap_gpio_set_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rdi)
	movq	_omap_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rdi)
	movq	_omap_gpio_set_multiple@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rdi)
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	128(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_omap_mpuio_device@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
LBB0_3:
	xorl	%edi, %edi
	callq	_OMAP_MPUIO
	jmp	LBB0_7
LBB0_4:
	movq	(%rbx), %rax
	movq	32(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movslq	_omap_gpio_chip_init.gpio(%rip), %rcx
	leaq	(%rcx,%rax), %r8
	decq	%r8
	leaq	L_.str.1(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_devm_kasprintf
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, (%r14)
	movl	_omap_gpio_chip_init.gpio(%rip), %eax
LBB0_7:
	movl	%eax, 24(%rbx)
	movq	(%rbx), %rax
	movq	%rax, 72(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.8:
	movq	128(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	$0, (%r15)
LBB0_10:
	movq	%r15, 64(%rbx)
	movq	_handle_bad_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$1, 40(%rbx)
	leaq	120(%rbx), %rax
	movq	%rax, 48(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gpiochip_add_data
	movq	32(%rbx), %r12
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_12:
	movl	120(%rbx), %r15d
	movq	_omap_gpio_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_gpiochip_remove
LBB0_14:
	cmpq	$0, 8(%rbx)
	jne	LBB0_16
## %bb.15:
	movl	(%rbx), %eax
	addl	%eax, _omap_gpio_chip_init.gpio(%rip)
	jmp	LBB0_16
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_omap_gpio_chip_init.gpio,4,2 ## @omap_gpio_chip_init.gpio
	.comm	_omap_gpio_request,4,2          ## @omap_gpio_request
	.comm	_omap_gpio_free,4,2             ## @omap_gpio_free
	.comm	_omap_gpio_get_direction,4,2    ## @omap_gpio_get_direction
	.comm	_omap_gpio_input,4,2            ## @omap_gpio_input
	.comm	_omap_gpio_get,4,2              ## @omap_gpio_get
	.comm	_omap_gpio_get_multiple,4,2     ## @omap_gpio_get_multiple
	.comm	_omap_gpio_output,4,2           ## @omap_gpio_output
	.comm	_omap_gpio_set_config,4,2       ## @omap_gpio_set_config
	.comm	_omap_gpio_set,4,2              ## @omap_gpio_set
	.comm	_omap_gpio_set_multiple,4,2     ## @omap_gpio_set_multiple
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mpuio"

	.comm	_omap_mpuio_device,4,2          ## @omap_mpuio_device
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"gpio-%d-%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_handle_bad_irq,4,2             ## @handle_bad_irq
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Could not register gpio chip %d\n"

	.comm	_omap_gpio_irq_handler,4,2      ## @omap_gpio_irq_handler
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_omap_gpio_chip_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function omap_gpio_chip_init
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_omap_gpio_chip_init:                   ; @omap_gpio_chip_init
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _omap_gpio_request@GOTPAGE
Lloh1:
	ldr	x8, [x8, _omap_gpio_request@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x20, x0, #16
Lloh3:
	adrp	x9, _omap_gpio_free@GOTPAGE
Lloh4:
	ldr	x9, [x9, _omap_gpio_free@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #112]
Lloh6:
	adrp	x8, _omap_gpio_get_direction@GOTPAGE
Lloh7:
	ldr	x8, [x8, _omap_gpio_get_direction@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _omap_gpio_input@GOTPAGE
Lloh10:
	ldr	x9, [x9, _omap_gpio_input@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _omap_gpio_get@GOTPAGE
Lloh13:
	ldr	x10, [x10, _omap_gpio_get@GOTPAGEOFF]
	stp	w9, w8, [x0, #104]
Lloh14:
	ldr	w8, [x10]
Lloh15:
	adrp	x9, _omap_gpio_get_multiple@GOTPAGE
Lloh16:
	ldr	x9, [x9, _omap_gpio_get_multiple@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
Lloh18:
	adrp	x8, _omap_gpio_output@GOTPAGE
Lloh19:
	ldr	x8, [x8, _omap_gpio_output@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _omap_gpio_set_config@GOTPAGE
Lloh22:
	ldr	x9, [x9, _omap_gpio_set_config@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #88]
Lloh24:
	adrp	x8, _omap_gpio_set@GOTPAGE
Lloh25:
	ldr	x8, [x8, _omap_gpio_set@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _omap_gpio_set_multiple@GOTPAGE
Lloh28:
	ldr	x9, [x9, _omap_gpio_set_multiple@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh30:
	adrp	x8, l_.str@PAGE
Lloh31:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19, #16]
	ldr	x8, [x19, #128]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh32:
	adrp	x8, _omap_mpuio_device@GOTPAGE
Lloh33:
	ldr	x8, [x8, _omap_mpuio_device@GOTPAGEOFF]
	str	x8, [x19, #32]
LBB0_3:
	mov	w0, #0
	bl	_OMAP_MPUIO
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19, #32]
Lloh34:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	adrp	x22, _omap_gpio_chip_init.gpio@PAGE
	ldrsw	x3, [x22, _omap_gpio_chip_init.gpio@PAGEOFF]
	ldr	x8, [x19]
	add	x8, x3, x8
	sub	x4, x8, #1
Lloh37:
	adrp	x2, l_.str.1@PAGE
Lloh38:
	add	x2, x2, l_.str.1@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_devm_kasprintf
	cbz	x0, LBB0_15
; %bb.5:
	str	x0, [x20]
	ldr	w0, [x22, _omap_gpio_chip_init.gpio@PAGEOFF]
LBB0_6:
	str	w0, [x19, #24]
	ldp	x8, x9, [x19]
	str	x8, [x19, #72]
	cbz	x9, LBB0_9
; %bb.7:
	ldr	x8, [x19, #128]
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.8:
	str	xzr, [x21]
LBB0_9:
Lloh39:
	adrp	x8, _handle_bad_irq@GOTPAGE
Lloh40:
	ldr	x8, [x8, _handle_bad_irq@GOTPAGEOFF]
	str	x21, [x19, #64]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _IRQ_TYPE_NONE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
	add	x8, x19, #120
	str	x8, [x19, #48]
Lloh45:
	adrp	x8, lCPI0_0@PAGE
Lloh46:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #40]
	mov	x0, x20
	mov	x1, x19
	bl	_gpiochip_add_data
	ldr	x22, [x19, #32]
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
	str	x21, [sp]
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_16
LBB0_11:
	ldr	w21, [x19, #120]
Lloh49:
	adrp	x8, _omap_gpio_irq_handler@GOTPAGE
Lloh50:
	ldr	x8, [x8, _omap_gpio_irq_handler@GOTPAGEOFF]
Lloh51:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_dev_name
	mov	x4, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	mov	x21, x0
	cbz	w0, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_gpiochip_remove
LBB0_13:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_16
; %bb.14:
	ldr	w8, [x19]
	adrp	x9, _omap_gpio_chip_init.gpio@PAGE
	ldr	w10, [x9, _omap_gpio_chip_init.gpio@PAGEOFF]
	add	w8, w10, w8
	str	w8, [x9, _omap_gpio_chip_init.gpio@PAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_16:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdr	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_omap_gpio_chip_init.gpio,4,2 ; @omap_gpio_chip_init.gpio
	.comm	_omap_gpio_request,4,2          ; @omap_gpio_request
	.comm	_omap_gpio_free,4,2             ; @omap_gpio_free
	.comm	_omap_gpio_get_direction,4,2    ; @omap_gpio_get_direction
	.comm	_omap_gpio_input,4,2            ; @omap_gpio_input
	.comm	_omap_gpio_get,4,2              ; @omap_gpio_get
	.comm	_omap_gpio_get_multiple,4,2     ; @omap_gpio_get_multiple
	.comm	_omap_gpio_output,4,2           ; @omap_gpio_output
	.comm	_omap_gpio_set_config,4,2       ; @omap_gpio_set_config
	.comm	_omap_gpio_set,4,2              ; @omap_gpio_set
	.comm	_omap_gpio_set_multiple,4,2     ; @omap_gpio_set_multiple
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mpuio"

	.comm	_omap_mpuio_device,4,2          ; @omap_mpuio_device
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"gpio-%d-%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_handle_bad_irq,4,2             ; @handle_bad_irq
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Could not register gpio chip %d\n"

	.comm	_omap_gpio_irq_handler,4,2      ; @omap_gpio_irq_handler
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_omap_gpio_chip_init
.subsections_via_symbols
