	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps65910_gpio_probe
_tps65910_gpio_probe:                   ## @tps65910_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	%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
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	(%rax), %rdi
	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_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r15, 56(%rax)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	%r15, %rdi
	callq	_tps65910_chip_id
	cmpl	$129, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_21
## %bb.6:
	movq	_TPS65911_NUM_GPIO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_TPS65910_NUM_GPIO@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movl	%edx, (%rbx)
	movl	$1, 4(%rbx)
	movq	_tps65910_gpio_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_tps65910_gpio_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_tps65910_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_tps65910_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	testq	%r12, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.8:
	movl	(%r12), %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sbbl	%ecx, %ecx
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
LBB0_11:
	cmpl	$0, (%rbx)
	jle	LBB0_17
## %bb.12:
	xorl	%r13d, %r13d
	movq	_GPIO_SLEEP_MASK@GOTPCREL(%rip), %r14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	cmpl	$0, (%rax,%r13,4)
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_TPS65910_GPIO0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movl	(%r14), %edx
	movq	%r15, %rdi
	callq	_tps65910_reg_set_bits
	testl	%eax, %eax
	jns	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_16
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_20
LBB0_9:
	movl	$-1, 8(%rbx)
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_tps65910_parse_dt_for_gpio
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
LBB0_17:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_devm_gpiochip_add_data
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_20
LBB0_18:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_dev_err
LBB0_20:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_TPS65910_NUM_GPIO,4,2          ## @TPS65910_NUM_GPIO
	.comm	_TPS65911_NUM_GPIO,4,2          ## @TPS65911_NUM_GPIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_tps65910_gpio_input,4,2        ## @tps65910_gpio_input
	.comm	_tps65910_gpio_output,4,2       ## @tps65910_gpio_output
	.comm	_tps65910_gpio_set,4,2          ## @tps65910_gpio_set
	.comm	_tps65910_gpio_get,4,2          ## @tps65910_gpio_get
	.comm	_TPS65910_GPIO0,8,3             ## @TPS65910_GPIO0
	.comm	_GPIO_SLEEP_MASK,4,2            ## @GPIO_SLEEP_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPIO Sleep setting failed with err %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not register gpiochip, %d\n"

	.no_dead_strip	_tps65910_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps65910_gpio_probe
_tps65910_gpio_probe:                   ; @tps65910_gpio_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x0, [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_4
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
	str	x20, [x0, #56]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
	mov	x0, x20
	bl	_tps65910_chip_id
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_14
; %bb.3:
Lloh6:
	adrp	x8, _TPS65911_NUM_GPIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TPS65911_NUM_GPIO@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_5:
Lloh10:
	adrp	x8, _TPS65910_NUM_GPIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TPS65910_NUM_GPIO@GOTPAGEOFF]
LBB0_6:
	ldr	w2, [x8]
	mov	w8, #1
	stp	w2, w8, [x21]
Lloh12:
	adrp	x8, _tps65910_gpio_input@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tps65910_gpio_input@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _tps65910_gpio_output@GOTPAGE
Lloh16:
	ldr	x9, [x9, _tps65910_gpio_output@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #40]
Lloh18:
	adrp	x8, _tps65910_gpio_set@GOTPAGE
Lloh19:
	ldr	x8, [x8, _tps65910_gpio_set@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _tps65910_gpio_get@GOTPAGE
Lloh22:
	ldr	x9, [x9, _tps65910_gpio_get@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #32]
	str	x19, [x21, #24]
	cbz	x22, LBB0_16
; %bb.7:
	ldr	w8, [x22]
	cmp	w8, #0
	csinv	w8, w8, wzr, ne
	str	w8, [x21, #8]
LBB0_8:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x24, #0
Lloh24:
	adrp	x25, _TPS65910_GPIO0@GOTPAGE
Lloh25:
	ldr	x25, [x25, _TPS65910_GPIO0@GOTPAGEOFF]
Lloh26:
	adrp	x26, _GPIO_SLEEP_MASK@GOTPAGE
Lloh27:
	ldr	x26, [x26, _GPIO_SLEEP_MASK@GOTPAGEOFF]
Lloh28:
	adrp	x23, l_.str@PAGE
Lloh29:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w8, [x8, x24, lsl #2]
	cbz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x25]
	add	x1, x24, x8
	ldr	w2, [x26]
	mov	x0, x20
	bl	_tps65910_reg_set_bits
	tbz	w0, #31, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x2, x0
	ldr	x0, [x20]
	mov	x1, x23
	bl	_dev_warn
	b	LBB0_10
LBB0_14:
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_21
LBB0_16:
	mov	w8, #-1
	str	w8, [x21, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x20
	bl	_tps65910_parse_dt_for_gpio
	mov	x22, x0
	cbnz	x0, LBB0_8
LBB0_18:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_devm_gpiochip_add_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	b	LBB0_21
LBB0_20:
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
LBB0_21:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_TPS65910_NUM_GPIO,4,2          ; @TPS65910_NUM_GPIO
	.comm	_TPS65911_NUM_GPIO,4,2          ; @TPS65911_NUM_GPIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_tps65910_gpio_input,4,2        ; @tps65910_gpio_input
	.comm	_tps65910_gpio_output,4,2       ; @tps65910_gpio_output
	.comm	_tps65910_gpio_set,4,2          ; @tps65910_gpio_set
	.comm	_tps65910_gpio_get,4,2          ; @tps65910_gpio_get
	.comm	_TPS65910_GPIO0,8,3             ; @TPS65910_GPIO0
	.comm	_GPIO_SLEEP_MASK,4,2            ; @GPIO_SLEEP_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPIO Sleep setting failed with err %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not register gpiochip, %d\n"

	.no_dead_strip	_tps65910_gpio_probe
.subsections_via_symbols
