	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xra1403_probe
_xra1403_probe:                         ## @xra1403_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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
LBB0_4:
	movq	_xra1403_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_xra1403_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_xra1403_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_xra1403_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_xra1403_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_xra1403_dbg_show@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$16, (%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%rbx)
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, 16(%rbx)
	movq	%r14, 32(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_xra1403_regmap_cfg@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_spi
	movq	%rax, 64(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	64(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_spi_set_drvdata
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_9:
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"Could not get reset-gpios\n"

	.comm	_xra1403_direction_input,4,2    ## @xra1403_direction_input
	.comm	_xra1403_direction_output,4,2   ## @xra1403_direction_output
	.comm	_xra1403_get_direction,4,2      ## @xra1403_get_direction
	.comm	_xra1403_get,4,2                ## @xra1403_get
	.comm	_xra1403_set,4,2                ## @xra1403_set
	.comm	_xra1403_dbg_show,4,2           ## @xra1403_dbg_show
L_.str.2:                               ## @.str.2
	.asciz	"xra1403"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_xra1403_regmap_cfg,4,2         ## @xra1403_regmap_cfg
L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate regmap: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to register gpiochip\n"

	.no_dead_strip	_xra1403_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 xra1403_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xra1403_probe:                         ; @xra1403_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_3:
Lloh10:
	adrp	x8, _xra1403_direction_input@GOTPAGE
Lloh11:
	ldr	x8, [x8, _xra1403_direction_input@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _xra1403_direction_output@GOTPAGE
Lloh14:
	ldr	x9, [x9, _xra1403_direction_output@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #56]
Lloh16:
	adrp	x8, _xra1403_get_direction@GOTPAGE
Lloh17:
	ldr	x8, [x8, _xra1403_get_direction@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _xra1403_get@GOTPAGE
Lloh20:
	ldr	x9, [x9, _xra1403_get@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
Lloh22:
	adrp	x8, _xra1403_set@GOTPAGE
Lloh23:
	ldr	x8, [x8, _xra1403_set@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _xra1403_dbg_show@GOTPAGE
Lloh26:
	ldr	x9, [x9, _xra1403_dbg_show@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
	mov	w8, #16
	str	w8, [x20]
Lloh28:
	adrp	x8, l_.str.2@PAGE
Lloh29:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x20, #8]
Lloh30:
	adrp	x8, lCPI0_0@PAGE
Lloh31:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20, #16]
	str	x19, [x20, #32]
Lloh32:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x20, #24]
Lloh35:
	adrp	x1, _xra1403_regmap_cfg@GOTPAGE
Lloh36:
	ldr	x1, [x1, _xra1403_regmap_cfg@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_spi
	str	x0, [x20, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x0, [x20, #64]
	bl	_PTR_ERR
	mov	x21, x0
	str	x21, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_9
LBB0_6:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_devm_gpiochip_add_data
	tbnz	w0, #31, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_spi_set_drvdata
	mov	w21, #0
LBB0_9:
	mov	x0, 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
	add	sp, sp, #64
	ret
LBB0_10:
	mov	x21, x0
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdrp	Lloh30, Lloh32
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"Could not get reset-gpios\n"

	.comm	_xra1403_direction_input,4,2    ; @xra1403_direction_input
	.comm	_xra1403_direction_output,4,2   ; @xra1403_direction_output
	.comm	_xra1403_get_direction,4,2      ; @xra1403_get_direction
	.comm	_xra1403_get,4,2                ; @xra1403_get
	.comm	_xra1403_set,4,2                ; @xra1403_set
	.comm	_xra1403_dbg_show,4,2           ; @xra1403_dbg_show
l_.str.2:                               ; @.str.2
	.asciz	"xra1403"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_xra1403_regmap_cfg,4,2         ; @xra1403_regmap_cfg
l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate regmap: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to register gpiochip\n"

	.no_dead_strip	_xra1403_probe
.subsections_via_symbols
