	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sch_gpio_probe
_sch_gpio_probe:                        ## @sch_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, %r13
	leaq	4(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_resource_size
	movl	8(%r13), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_request_region
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	%r12, %rbx
	movq	%r15, %r12
	leaq	36(%r15), %rdi
	callq	_spin_lock_init
	movl	(%r14), %eax
	movl	%eax, 32(%r15)
	movq	_sch_gpio_chip@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 24(%r15)
	movups	(%rax), %xmm0
	movups	%xmm0, 8(%r15)
	movq	%rbx, %rdi
	callq	_dev_name
	movl	%eax, 24(%r15)
	movq	%rbx, 16(%r15)
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.4:
	movq	%rbx, %r14
	addq	$8, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movl	$10, (%r12)
	movl	$14, 8(%r12)
	movq	_GEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$8, %esi
	movl	$1, %ecx
	callq	_sch_gpio_reg_set
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$9, %esi
	movl	$1, %ecx
	callq	_sch_gpio_reg_set
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$13, %esi
	movl	$1, %ecx
	callq	_sch_gpio_reg_set
	jmp	LBB0_15
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$2, (%r12)
	movl	$8, 8(%r12)
	jmp	LBB0_15
LBB0_13:
	movl	$5, (%r12)
	movl	$14, 8(%r12)
	jmp	LBB0_15
LBB0_14:
	movl	$21, (%r12)
	movl	$30, 8(%r12)
LBB0_15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_gpiochip_add_data         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_IO,4,2              ## @IORESOURCE_IO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_sch_gpio_chip,24,3             ## @sch_gpio_chip
	.comm	_GEN,4,2                        ## @GEN
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_sch_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sch_gpio_probe
_sch_gpio_probe:                        ; @sch_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	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _IORESOURCE_IO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_IO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
	ldr	w23, [x0]
	bl	_resource_size
	mov	x2, x0
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	x1, x23
	bl	_devm_request_region
	cbz	w0, LBB0_6
; %bb.3:
	add	x0, x21, #36
	bl	_spin_lock_init
	ldr	w8, [x22]
	str	w8, [x21, #32]
Lloh6:
	adrp	x8, _sch_gpio_chip@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sch_gpio_chip@GOTPAGEOFF]
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	str	x8, [x21, #24]
	stur	q0, [x21, #8]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x21, #24]
	str	x19, [x21, #16]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.4:
	add	x22, x21, #8
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w8, #10
	str	w8, [x21]
	mov	w8, #14
	str	w8, [x21, #8]
Lloh10:
	adrp	x23, _GEN@GOTPAGE
Lloh11:
	ldr	x23, [x23, _GEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #8
	mov	w3, #1
	bl	_sch_gpio_reg_set
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #9
	mov	w3, #1
	bl	_sch_gpio_reg_set
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #13
	mov	w3, #1
	bl	_sch_gpio_reg_set
	b	LBB0_14
LBB0_6:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	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_9:
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_10:
	mov	w8, #2
	str	w8, [x21]
	mov	w8, #8
	b	LBB0_13
LBB0_11:
	mov	w8, #5
	str	w8, [x21]
	mov	w8, #14
	b	LBB0_13
LBB0_12:
	mov	w8, #21
	str	w8, [x21]
	mov	w8, #30
LBB0_13:
	str	w8, [x21, #8]
LBB0_14:
	mov	x0, x20
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	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
	b	_devm_gpiochip_add_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_IO,4,2              ; @IORESOURCE_IO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_sch_gpio_chip,24,3             ; @sch_gpio_chip
	.comm	_GEN,4,2                        ; @GEN
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_sch_gpio_probe
.subsections_via_symbols
