	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stk3310_regmap_init
_stk3310_regmap_init:                   ## @stk3310_regmap_init
	.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	8(%rdi), %r15
	movq	_stk3310_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, (%r14)
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_als_gain@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_ps_gain@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_als_it@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_ps_it@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_int_ps@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_flag_psint@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	movq	_flag_nf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STK3310_REGFIELD
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stk3310_regmap_config,4,2      ## @stk3310_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regmap initialization failed.\n"

	.comm	_state,4,2                      ## @state
	.comm	_als_gain,4,2                   ## @als_gain
	.comm	_ps_gain,4,2                    ## @ps_gain
	.comm	_als_it,4,2                     ## @als_it
	.comm	_ps_it,4,2                      ## @ps_it
	.comm	_int_ps,4,2                     ## @int_ps
	.comm	_flag_psint,4,2                 ## @flag_psint
	.comm	_flag_nf,4,2                    ## @flag_nf
	.no_dead_strip	_stk3310_regmap_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stk3310_regmap_init
_stk3310_regmap_init:                   ; @stk3310_regmap_init
	.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
	mov	x21, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x1, _stk3310_regmap_config@GOTPAGE
Lloh1:
	ldr	x1, [x1, _stk3310_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	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
	b	_PTR_ERR
LBB0_2:
	str	x20, [x21]
Lloh4:
	adrp	x8, _state@GOTPAGE
Lloh5:
	ldr	x8, [x8, _state@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh7:
	adrp	x8, _als_gain@GOTPAGE
Lloh8:
	ldr	x8, [x8, _als_gain@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh10:
	adrp	x8, _ps_gain@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ps_gain@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh13:
	adrp	x8, _als_it@GOTPAGE
Lloh14:
	ldr	x8, [x8, _als_it@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh16:
	adrp	x8, _ps_it@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ps_it@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh19:
	adrp	x8, _int_ps@GOTPAGE
Lloh20:
	ldr	x8, [x8, _int_ps@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh22:
	adrp	x8, _flag_psint@GOTPAGE
Lloh23:
	ldr	x8, [x8, _flag_psint@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
Lloh25:
	adrp	x8, _flag_nf@GOTPAGE
Lloh26:
	ldr	x8, [x8, _flag_nf@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_STK3310_REGFIELD
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stk3310_regmap_config,4,2      ; @stk3310_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regmap initialization failed.\n"

	.comm	_state,4,2                      ; @state
	.comm	_als_gain,4,2                   ; @als_gain
	.comm	_ps_gain,4,2                    ; @ps_gain
	.comm	_als_it,4,2                     ; @als_it
	.comm	_ps_it,4,2                      ; @ps_it
	.comm	_int_ps,4,2                     ; @int_ps
	.comm	_flag_psint,4,2                 ; @flag_psint
	.comm	_flag_nf,4,2                    ; @flag_nf
	.no_dead_strip	_stk3310_regmap_init
.subsections_via_symbols
