	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda18271_setup_configuration
_tda18271_setup_configuration:          ## @tda18271_setup_configuration
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	leaq	16(%rsi), %rcx
	testq	%rsi, %rsi
	cmoveq	_TDA18271_GATE_AUTO@GOTPCREL(%rip), %rcx
	leaq	12(%rsi), %rdx
	cmoveq	_TDA18271_MASTER@GOTPCREL(%rip), %rdx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	(%rdx), %ecx
	movl	%ecx, 12(%rax)
	je	LBB0_1
## %bb.2:
	movl	8(%rsi), %ecx
	leaq	4(%rsi), %rdx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
	movq	_TDA18271_39_BYTE_CHUNK_INIT@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	%ecx, 8(%rax)
	movl	(%rdx), %ecx
	movl	%ecx, 4(%rax)
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.4:
	movq	_TDA18271_OUTPUT_LT_XT_ON@GOTPCREL(%rip), %rsi
LBB0_5:
	movl	(%rsi), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TDA18271_GATE_AUTO,4,2         ## @TDA18271_GATE_AUTO
	.comm	_TDA18271_MASTER,4,2            ## @TDA18271_MASTER
	.comm	_TDA18271_39_BYTE_CHUNK_INIT,4,2 ## @TDA18271_39_BYTE_CHUNK_INIT
	.comm	_TDA18271_OUTPUT_LT_XT_ON,4,2   ## @TDA18271_OUTPUT_LT_XT_ON
	.no_dead_strip	_tda18271_setup_configuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda18271_setup_configuration
_tda18271_setup_configuration:          ; @tda18271_setup_configuration
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	add	x9, x1, #16
Lloh0:
	adrp	x10, _TDA18271_GATE_AUTO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TDA18271_GATE_AUTO@GOTPAGEOFF]
	cmp	x1, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x8, #16]
	add	x9, x1, #12
Lloh2:
	adrp	x10, _TDA18271_MASTER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TDA18271_MASTER@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x8, #12]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w9, [x1, #8]
	add	x10, x1, #4
	b	LBB0_3
LBB0_2:
	mov	w9, #0
Lloh4:
	adrp	x10, _TDA18271_39_BYTE_CHUNK_INIT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _TDA18271_39_BYTE_CHUNK_INIT@GOTPAGEOFF]
LBB0_3:
	str	w9, [x8, #8]
	ldr	w9, [x10]
Lloh6:
	adrp	x10, _TDA18271_OUTPUT_LT_XT_ON@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TDA18271_OUTPUT_LT_XT_ON@GOTPAGEOFF]
	str	w9, [x8, #4]
	cmp	x1, #0
	csel	x9, x10, x1, eq
	ldr	w9, [x9]
	str	w9, [x8]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TDA18271_GATE_AUTO,4,2         ; @TDA18271_GATE_AUTO
	.comm	_TDA18271_MASTER,4,2            ; @TDA18271_MASTER
	.comm	_TDA18271_39_BYTE_CHUNK_INIT,4,2 ; @TDA18271_39_BYTE_CHUNK_INIT
	.comm	_TDA18271_OUTPUT_LT_XT_ON,4,2   ; @TDA18271_OUTPUT_LT_XT_ON
	.no_dead_strip	_tda18271_setup_configuration
.subsections_via_symbols
