	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps6586x_gpio_probe
_tps6586x_gpio_probe:                   ## @tps6586x_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	%rax, 48(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, 32(%rbx)
	movabsq	$4294967300, %rax               ## imm = 0x100000004
	movq	%rax, (%rbx)
	movq	_tps6586x_gpio_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_tps6586x_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_tps6586x_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_tps6586x_gpio_to_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movl	(%r15), %eax
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_devm_gpiochip_add_data
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_dev_err
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_tps6586x_gpio_output,4,2       ## @tps6586x_gpio_output
	.comm	_tps6586x_gpio_set,4,2          ## @tps6586x_gpio_set
	.comm	_tps6586x_gpio_get,4,2          ## @tps6586x_gpio_get
	.comm	_tps6586x_gpio_to_irq,4,2       ## @tps6586x_gpio_to_irq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not register gpiochip, %d\n"

	.no_dead_strip	_tps6586x_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 tps6586x_gpio_probe
lCPI0_0:
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tps6586x_gpio_probe:                   ; @tps6586x_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	x0, [x0]
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19]
	str	x8, [x0, #48]
Lloh3:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	stp	w9, w8, [x0, #40]
	str	x19, [x0, #32]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh8:
	adrp	x8, _tps6586x_gpio_output@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tps6586x_gpio_output@GOTPAGEOFF]
Lloh10:
	adrp	x9, _tps6586x_gpio_set@GOTPAGE
Lloh11:
	ldr	x9, [x9, _tps6586x_gpio_set@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh14:
	adrp	x8, _tps6586x_gpio_get@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tps6586x_gpio_get@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _tps6586x_gpio_to_irq@GOTPAGE
Lloh18:
	ldr	x9, [x9, _tps6586x_gpio_to_irq@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	cbz	x21, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	cbnz	w8, LBB0_4
LBB0_3:
	mov	w8, #-1
LBB0_4:
	str	w8, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_devm_gpiochip_add_data
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	b	LBB0_8
LBB0_6:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_7:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
LBB0_8:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_tps6586x_gpio_output,4,2       ; @tps6586x_gpio_output
	.comm	_tps6586x_gpio_set,4,2          ; @tps6586x_gpio_set
	.comm	_tps6586x_gpio_get,4,2          ; @tps6586x_gpio_get
	.comm	_tps6586x_gpio_to_irq,4,2       ; @tps6586x_gpio_to_irq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not register gpiochip, %d\n"

	.no_dead_strip	_tps6586x_gpio_probe
.subsections_via_symbols
