	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tas3004_set_drc
_tas3004_set_drc:                       ## @tas3004_set_drc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	cmpq	$0, 8(%rdi)
	sete	%al
	orb	$80, %al
	movb	%al, -6(%rbp)
	movb	$2, -5(%rbp)
	movl	(%rdi), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovgl	%eax, %ecx
	cmpl	$239, %ecx
	movl	$239, %eax
	cmovbl	%ecx, %eax
	movb	%al, -4(%rbp)
	movw	$24752, -3(%rbp)                ## imm = 0x60B0
	movb	$-96, -1(%rbp)
	movq	_TAS_REG_DRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-6(%rbp), %rcx
	movl	$6, %edx
	callq	_tas_write_reg
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TAS_REG_DRC,4,2                ## @TAS_REG_DRC
	.no_dead_strip	_tas3004_set_drc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tas3004_set_drc
_tas3004_set_drc:                       ; @tas3004_set_drc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0, #8]
	cmp	x8, #0
	mov	w8, #80
	cinc	w8, w8, eq
	sturb	w8, [x29, #-6]
	mov	w8, #2
	sturb	w8, [x29, #-5]
	ldr	w8, [x0]
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	mov	w9, #239
	cmp	w8, #239
	csel	w8, w8, w9, lo
	sturb	w8, [x29, #-4]
	mov	w8, #24752
	sturh	w8, [x29, #-3]
	mov	w8, #160
	sturb	w8, [x29, #-1]
Lloh0:
	adrp	x8, _TAS_REG_DRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAS_REG_DRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x3, x29, #6
	mov	w2, #6
	bl	_tas_write_reg
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TAS_REG_DRC,4,2                ; @TAS_REG_DRC
	.no_dead_strip	_tas3004_set_drc
.subsections_via_symbols
