	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl4030_startup
_twl4030_startup:                       ## @twl4030_startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%r14, 16(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_twl4030_constraints
	jmp	LBB0_6
LBB0_3:
	movq	_TWL4030_REG_CODEC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_twl4030_read_reg_cache
	movq	_TWL4030_OPTION_1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	movl	$2, %ecx
	callq	_snd_pcm_hw_constraint_minmax
LBB0_5:
	movq	%r14, (%rbx)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWL4030_REG_CODEC_MODE,4,2     ## @TWL4030_REG_CODEC_MODE
	.comm	_TWL4030_OPTION_1,4,2           ## @TWL4030_OPTION_1
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_twl4030_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl4030_startup
_twl4030_startup:                       ; @twl4030_startup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldr	x19, [x0]
	ldr	x1, [x19]
	cbz	x1, LBB0_3
; %bb.1:
	str	x20, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_twl4030_constraints
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _TWL4030_REG_CODEC_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWL4030_REG_CODEC_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_twl4030_read_reg_cache
Lloh3:
	adrp	x8, _TWL4030_OPTION_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TWL4030_OPTION_1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #2
	mov	w3, #2
	bl	_snd_pcm_hw_constraint_minmax
LBB0_5:
	str	x20, [x19]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TWL4030_REG_CODEC_MODE,4,2     ; @TWL4030_REG_CODEC_MODE
	.comm	_TWL4030_OPTION_1,4,2           ; @TWL4030_OPTION_1
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.no_dead_strip	_twl4030_startup
.subsections_via_symbols
