	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f7188x_gpio_probe
_f7188x_gpio_probe:                     ## @f7188x_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
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	jae	LBB0_4
## %bb.5:
	cltq
	leaq	l_switch.table.f7188x_gpio_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.f7188x_gpio_probe.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rbx
	movq	(%rcx), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, (%r12)
	movq	(%rbx), %rax
	movq	%rax, 8(%r12)
	movq	%r15, 16(%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	leaq	(%rax,%rbx), %rdx
	movq	%r14, (%rax,%rbx)
	movq	%r12, 8(%rax,%rbx)
	movq	%r14, %rdi
	movq	%rdx, %rsi
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jl	LBB0_7
LBB0_10:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_dev_err
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_f71869_gpio_bank,8,3           ## @f71869_gpio_bank
	.comm	_f71869a_gpio_bank,8,3          ## @f71869a_gpio_bank
	.comm	_f71882_gpio_bank,8,3           ## @f71882_gpio_bank
	.comm	_f71889a_gpio_bank,8,3          ## @f71889a_gpio_bank
	.comm	_f71889_gpio_bank,8,3           ## @f71889_gpio_bank
	.comm	_f81866_gpio_bank,8,3           ## @f81866_gpio_bank
	.comm	_f81804_gpio_bank,8,3           ## @f81804_gpio_bank
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register gpiochip %d: %d\n"

	.no_dead_strip	_f7188x_gpio_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.f7188x_gpio_probe
l_switch.table.f7188x_gpio_probe:
	.quad	_f81866_gpio_bank
	.quad	_f81804_gpio_bank
	.quad	_f71889_gpio_bank
	.quad	_f71889a_gpio_bank
	.quad	_f71882_gpio_bank
	.quad	_f71869a_gpio_bank
	.quad	_f71869_gpio_bank

	.p2align	3                               ## @switch.table.f7188x_gpio_probe.1
l_switch.table.f7188x_gpio_probe.1:
	.quad	_f81866_gpio_bank
	.quad	_f81804_gpio_bank
	.quad	_f71889_gpio_bank
	.quad	_f71889a_gpio_bank
	.quad	_f71882_gpio_bank
	.quad	_f71869a_gpio_bank
	.quad	_f71869_gpio_bank

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f7188x_gpio_probe
_f7188x_gpio_probe:                     ; @f7188x_gpio_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	x19, 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, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hs	LBB0_8
; %bb.2:
	mov	x20, x0
	sbfiz	x8, x8, #3, #32
Lloh3:
	adrp	x9, l_switch.table.f7188x_gpio_probe@PAGE
Lloh4:
	add	x9, x9, l_switch.table.f7188x_gpio_probe@PAGEOFF
	ldr	x9, [x9, x8]
Lloh5:
	adrp	x10, l_switch.table.f7188x_gpio_probe.1@PAGE
Lloh6:
	add	x10, x10, l_switch.table.f7188x_gpio_probe.1@PAGEOFF
	ldr	x22, [x10, x8]
	ldr	x0, [x9]
	bl	_ARRAY_SIZE
	str	w0, [x20]
	ldr	x8, [x22]
	stp	x8, x21, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x23, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x23
	stp	x19, x20, [x1]
	mov	x0, x19
	mov	x2, x1
	bl	_devm_gpiochip_add_data
	cbnz	w0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x23, x23, #16
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_6:
	mov	w22, #0
	b	LBB0_10
LBB0_7:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	mov	x0, x22
	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
LBB0_11:
	mov	x22, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_dev_err
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_f71869_gpio_bank,8,3           ; @f71869_gpio_bank
	.comm	_f71869a_gpio_bank,8,3          ; @f71869a_gpio_bank
	.comm	_f71882_gpio_bank,8,3           ; @f71882_gpio_bank
	.comm	_f71889a_gpio_bank,8,3          ; @f71889a_gpio_bank
	.comm	_f71889_gpio_bank,8,3           ; @f71889_gpio_bank
	.comm	_f81866_gpio_bank,8,3           ; @f81866_gpio_bank
	.comm	_f81804_gpio_bank,8,3           ; @f81804_gpio_bank
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register gpiochip %d: %d\n"

	.no_dead_strip	_f7188x_gpio_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.f7188x_gpio_probe
l_switch.table.f7188x_gpio_probe:
	.quad	_f81866_gpio_bank
	.quad	_f81804_gpio_bank
	.quad	_f71889_gpio_bank
	.quad	_f71889a_gpio_bank
	.quad	_f71882_gpio_bank
	.quad	_f71869a_gpio_bank
	.quad	_f71869_gpio_bank

	.p2align	3                               ; @switch.table.f7188x_gpio_probe.1
l_switch.table.f7188x_gpio_probe.1:
	.quad	_f81866_gpio_bank
	.quad	_f81804_gpio_bank
	.quad	_f71889_gpio_bank
	.quad	_f71889a_gpio_bank
	.quad	_f71882_gpio_bank
	.quad	_f71869a_gpio_bank
	.quad	_f71869_gpio_bank

.subsections_via_symbols
