	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc90522_set_if_agc
_tc90522_set_if_agc:                    ## @tc90522_set_if_agc
	.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
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -48(%rbp)
	movl	$10, -80(%rbp)
	movl	$16, -68(%rbp)
	movl	$48, -64(%rbp)
	movl	$17, -56(%rbp)
	movabsq	$4294967299, %rax               ## imm = 0x100000003
	movq	%rax, -44(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	$0, -96(%rbp)
	movl	$37, -128(%rbp)
	movl	$35, -116(%rbp)
	movl	$76, -112(%rbp)
	movabsq	$274877906945, %rax             ## imm = 0x4000000001
	movq	%rax, -104(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movq	(%rax), %rax
	movq	_SYS_ISDBS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	movl	$255, %ecx
	cmovel	%esi, %ecx
	leaq	-80(%rbp), %rbx
	movl	%ecx, -72(%rbp)
	leal	128(%rax), %ecx
	movl	%ecx, -60(%rbp)
	shll	$6, %eax
	movl	%eax, -48(%rbp)
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testl	%esi, %esi
	sete	%al
	setne	%cl
	shll	$6, %ecx
	leaq	-128(%rbp), %rbx
	movl	%ecx, -120(%rbp)
	movl	%eax, -108(%rbp)
LBB0_3:
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_reg_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_ISDBS,8,3                  ## @SYS_ISDBS
	.no_dead_strip	_tc90522_set_if_agc
.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 tc90522_set_if_agc
lCPI0_0:
	.long	16                              ; 0x10
	.long	48                              ; 0x30
lCPI0_1:
	.long	3                               ; 0x3
	.long	1                               ; 0x1
lCPI0_2:
	.long	35                              ; 0x23
	.long	76                              ; 0x4c
lCPI0_3:
	.long	1                               ; 0x1
	.long	64                              ; 0x40
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tc90522_set_if_agc:                    ; @tc90522_set_if_agc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #44]
	stur	q0, [sp, #60]
	stur	q0, [sp, #72]
	mov	w8, #10
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	stur	d1, [sp, #52]
	mov	w8, #17
	str	w8, [sp, #64]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	stur	d1, [sp, #76]
	stur	q0, [sp, #4]
	stur	q0, [sp, #20]
	mov	w8, #37
	str	w8, [sp]
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	stur	d0, [sp, #12]
Lloh9:
	adrp	x8, lCPI0_3@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	str	d0, [sp, #24]
	ldp	x8, x19, [x0]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _SYS_ISDBS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SYS_ISDBS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #255
	cmp	w1, #0
	csel	w8, wzr, w8, eq
	cset	w9, ne
	add	x20, sp, #40
	orr	w10, w9, #0x80
	str	w8, [sp, #48]
	str	w10, [sp, #60]
	lsl	w8, w9, #6
	str	w8, [sp, #72]
	b	LBB0_3
LBB0_2:
	cmp	w1, #0
	cset	w8, eq
	cset	w9, ne
	lsl	w9, w9, #6
	mov	x20, sp
	str	w9, [sp, #8]
	str	w8, [sp, #20]
LBB0_3:
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_write
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_ISDBS,8,3                  ; @SYS_ISDBS
	.no_dead_strip	_tc90522_set_if_agc
.subsections_via_symbols
