	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc5t583_gpio_probe
_rc5t583_gpio_probe:                    ## @rc5t583_gpio_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_dev_get_platdata
	movq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_rc5t583_gpio_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_rc5t583_gpio_dir_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_rc5t583_gpio_dir_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_rc5t583_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_rc5t583_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_rc5t583_gpio_to_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_RC5T583_MAX_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movabsq	$-4294967295, %rax              ## imm = 0xFFFFFFFF00000001
	movq	%rax, 8(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r15, 56(%rbx)
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, 12(%rbx)
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_gpiochip_add_data         ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"gpio-rc5t583"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_rc5t583_gpio_free,4,2          ## @rc5t583_gpio_free
	.comm	_rc5t583_gpio_dir_input,4,2     ## @rc5t583_gpio_dir_input
	.comm	_rc5t583_gpio_dir_output,4,2    ## @rc5t583_gpio_dir_output
	.comm	_rc5t583_gpio_set,4,2           ## @rc5t583_gpio_set
	.comm	_rc5t583_gpio_get,4,2           ## @rc5t583_gpio_get
	.comm	_rc5t583_gpio_to_irq,4,2        ## @rc5t583_gpio_to_irq
	.comm	_RC5T583_MAX_GPIO,4,2           ## @RC5T583_MAX_GPIO
	.no_dead_strip	_rc5t583_gpio_probe
.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 rc5t583_gpio_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rc5t583_gpio_probe:                    ; @rc5t583_gpio_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	x19, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x21, x0
	ldr	w0, [x0]
	bl	_dev_get_platdata
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x0]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _rc5t583_gpio_free@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rc5t583_gpio_free@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
Lloh11:
	adrp	x8, _rc5t583_gpio_dir_input@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rc5t583_gpio_dir_input@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _rc5t583_gpio_dir_output@GOTPAGE
Lloh15:
	ldr	x9, [x9, _rc5t583_gpio_dir_output@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh17:
	adrp	x8, _rc5t583_gpio_set@GOTPAGE
Lloh18:
	ldr	x8, [x8, _rc5t583_gpio_set@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _rc5t583_gpio_get@GOTPAGE
Lloh21:
	ldr	x9, [x9, _rc5t583_gpio_get@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _rc5t583_gpio_to_irq@GOTPAGE
Lloh24:
	ldr	x10, [x10, _rc5t583_gpio_to_irq@GOTPAGEOFF]
	stp	w9, w8, [x0, #32]
Lloh25:
	ldr	w8, [x10]
Lloh26:
	adrp	x9, _RC5T583_MAX_GPIO@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RC5T583_MAX_GPIO@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	str	x19, [x0, #16]
Lloh29:
	adrp	x8, lCPI0_0@PAGE
Lloh30:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0, #8]
	str	x21, [x0, #56]
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
	str	w8, [x20, #12]
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	mov	x1, x20
	mov	x2, 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	_devm_gpiochip_add_data
LBB0_5:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.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	"gpio-rc5t583"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_rc5t583_gpio_free,4,2          ; @rc5t583_gpio_free
	.comm	_rc5t583_gpio_dir_input,4,2     ; @rc5t583_gpio_dir_input
	.comm	_rc5t583_gpio_dir_output,4,2    ; @rc5t583_gpio_dir_output
	.comm	_rc5t583_gpio_set,4,2           ; @rc5t583_gpio_set
	.comm	_rc5t583_gpio_get,4,2           ; @rc5t583_gpio_get
	.comm	_rc5t583_gpio_to_irq,4,2        ; @rc5t583_gpio_to_irq
	.comm	_RC5T583_MAX_GPIO,4,2           ; @RC5T583_MAX_GPIO
	.no_dead_strip	_rc5t583_gpio_probe
.subsections_via_symbols
