	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucb1400_gpio_probe
_ucb1400_gpio_probe:                    ## @ucb1400_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	_ucbdata@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	%rax, 40(%rbx)
	movl	$10, 8(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ucb1400_gpio_dir_in@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_ucb1400_gpio_dir_out@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ucb1400_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ucb1400_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$1, 12(%rbx)
	movq	%rbx, %rdi
	callq	_gpiochip_add
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ucbdata,8,3                    ## @ucbdata
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ucb1400_gpio"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_ucb1400_gpio_dir_in,4,2        ## @ucb1400_gpio_dir_in
	.comm	_ucb1400_gpio_dir_out,4,2       ## @ucb1400_gpio_dir_out
	.comm	_ucb1400_gpio_get,4,2           ## @ucb1400_gpio_get
	.comm	_ucb1400_gpio_set,4,2           ## @ucb1400_gpio_set
	.no_dead_strip	_ucb1400_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 ucb1400_gpio_probe
lCPI0_0:
	.long	10                              ; 0xa
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ucb1400_gpio_probe:                    ; @ucb1400_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
Lloh0:
	adrp	x21, _ucbdata@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ucbdata@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x19, x0
	ldr	x20, [x0]
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	str	x8, [x20, #40]
Lloh4:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ucb1400_gpio_dir_in@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ucb1400_gpio_dir_in@GOTPAGEOFF]
	str	w8, [x20, #32]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _ucb1400_gpio_dir_out@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ucb1400_gpio_dir_out@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh13:
	adrp	x8, _ucb1400_gpio_get@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ucb1400_gpio_get@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _ucb1400_gpio_set@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ucb1400_gpio_set@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20, #8]
	mov	x0, x20
	bl	_gpiochip_add
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x2, [x8]
	cbz	x2, LBB0_8
; %bb.5:
	ldr	w1, [x20, #8]
	mov	x0, x19
	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
	br	x2
LBB0_6:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ucbdata,8,3                    ; @ucbdata
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ucb1400_gpio"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_ucb1400_gpio_dir_in,4,2        ; @ucb1400_gpio_dir_in
	.comm	_ucb1400_gpio_dir_out,4,2       ; @ucb1400_gpio_dir_out
	.comm	_ucb1400_gpio_get,4,2           ; @ucb1400_gpio_get
	.comm	_ucb1400_gpio_set,4,2           ; @ucb1400_gpio_set
	.no_dead_strip	_ucb1400_gpio_probe
.subsections_via_symbols
