	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Update_audctl
_Update_audctl:                         ## @Update_audctl
	.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	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	andl	$64, %ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r10d
	shrl	$6, %r10d
	movl	%esi, %r12d
	andl	$32, %r12d
	movl	%esi, %edx
	andl	$16, %edx
	sete	%r15b
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	shrl	$4, %edx
	movl	%esi, %ecx
	andl	$8, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	shrl	$3, %ecx
	testb	$1, %sil
	movl	$28, %r8d
	movl	$114, %eax
	cmovel	%r8d, %eax
	movl	(%rdi), %ebx
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %eax
	movl	4(%rdi), %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %edx
	movl	8(%rdi), %ebx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ecx
	xorl	%r9d, %r9d
	orl	%eax, %ecx
	setne	%r11b
	movl	12(%rdi), %ecx
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	cmpl	%ecx, %r10d
	sete	%r8b
	orb	%r8b, %r15b
	orl	%eax, %edx
	sete	%bl
	movl	16(%rdi), %r13d
	xorl	%r10d, %r10d
	movl	$0, %edx
	andb	%bl, %r8b
	jne	LBB0_3
## %bb.1:
	movl	20(%rdi), %edx
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.2:
	movl	%edx, %eax
	xorl	%edx, %edx
	divl	-60(%rbp)                       ## 4-byte Folded Reload
	movl	%eax, %edx
LBB0_3:
	movl	%r12d, -80(%rbp)                ## 4-byte Spill
	shrl	$5, %r12d
	andb	%bl, %r15b
	jne	LBB0_8
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movl	24(%rdi), %eax
	leal	255(%rax), %r10d
	testl	%eax, %eax
	cmovnsl	%eax, %r10d
	sarl	$8, %r10d
	testl	%ecx, %ecx
	jne	LBB0_8
	jmp	LBB0_7
LBB0_6:
	movl	24(%rdi), %r10d
LBB0_7:
	movl	%r10d, %eax
	movl	%edx, %ecx
	cltd
	idivl	-60(%rbp)                       ## 4-byte Folded Reload
	movl	%ecx, %edx
	movl	%eax, %r10d
LBB0_8:
	cmpl	%r13d, %r12d
	sete	%al
	movl	%r11d, %r14d
	xorb	$1, %r14b
	xorl	%ecx, %ecx
	movl	$0, %ebx
	andb	%al, %r14b
	jne	LBB0_10
## %bb.9:
	movl	28(%rdi), %ebx
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_10:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	orb	%r11b, %al
	cmpl	%r13d, %r12d
	movzbl	%al, %eax
	movb	%r11b, %r9b
	cmovnel	%eax, %r9d
	cmpb	$1, %r9b
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	jne	LBB0_11
## %bb.12:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.13:
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.17:
	movl	32(%rdi), %eax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$8, %ecx
LBB0_11:
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_20
LBB0_15:
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	%ebx, %eax
	setne	%bl
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	divl	-60(%rbp)                       ## 4-byte Folded Reload
	orb	%r11b, %bl
	cmpl	%r13d, %r12d
	movzbl	%bl, %edx
	movzbl	%r11b, %r9d
	cmovnel	%edx, %r9d
	cmpb	$1, %r9b
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jne	LBB0_16
## %bb.18:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_19
	jmp	LBB0_20
LBB0_14:
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_19:
	movl	32(%rdi), %ecx
	leal	255(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$8, %eax
	movl	%edx, %ecx
	cltd
	idivl	-60(%rbp)                       ## 4-byte Folded Reload
	movl	%ecx, %edx
	movl	%eax, %ecx
LBB0_20:
	testb	%r8b, %r8b
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_21
## %bb.22:
	testb	%r15b, %r15b
	je	LBB0_23
LBB0_27:
	testb	%r14b, %r14b
	je	LBB0_28
LBB0_32:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	testb	%r9b, %al
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_36
## %bb.33:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
	jmp	LBB0_34
LBB0_21:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %eax
	cmovel	%ebx, %eax
	imull	%edx, %eax
	movl	%eax, 20(%rdi)
	testb	%r15b, %r15b
	jne	LBB0_27
LBB0_23:
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_24
## %bb.25:
	imull	%ebx, %r10d
	movl	%r10d, %eax
	jmp	LBB0_26
LBB0_24:
	shll	$8, %r10d
	addl	%edx, %r10d
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %eax
	cmovel	%ebx, %eax
	imull	%r10d, %eax
LBB0_26:
	movl	%eax, 24(%rdi)
	testb	%r14b, %r14b
	jne	LBB0_32
LBB0_28:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_31
## %bb.29:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	imull	%ebx, %edx
	movl	%edx, 28(%rdi)
	testb	%r9b, %al
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_36
LBB0_30:
	shll	$8, %ecx
	addl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	imull	%ebx, %ecx
	jmp	LBB0_35
LBB0_31:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 28(%rdi)
	testb	%r9b, %al
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_36
LBB0_34:
	shll	$8, %ecx
	addl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
LBB0_35:
	movl	%ecx, 32(%rdi)
LBB0_36:
	movl	%esi, %eax
	shrl	%eax
	andl	$1, %eax
	shrl	$2, %esi
	andl	$1, %esi
	movl	%r11d, 12(%rdi)
	movl	%r12d, 16(%rdi)
	movl	%r13d, 4(%rdi)
	movl	%edx, 8(%rdi)
	movl	%esi, 36(%rdi)
	movl	%eax, 40(%rdi)
	movl	%ebx, (%rdi)
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Update_audctl
.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 Update_audctl
lCPI0_0:
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_Update_audctl:                         ; @Update_audctl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	ubfx	w9, w1, #6, #1
	ands	w13, w1, #0x10
	cset	w12, eq
	lsr	w8, w13, #4
	ubfx	w10, w1, #3, #1
	tst	w1, #0x1
	mov	w11, #114
	mov	w14, #28
	csel	w11, w14, w11, eq
	ldp	w5, w17, [x0]
	cmp	w11, w5
	cset	w14, eq
	cset	w2, ne
	cmp	w8, w17
	cset	w16, eq
	ldp	w19, w15, [x0, #8]
	cmp	w10, w19
	cset	w3, ne
	cmp	w9, w15
	cset	w7, eq
	orr	w4, w12, w7
	and	w6, w16, w14
	and	w16, w7, w6
	tbz	w16, #0, LBB0_2
; %bb.1:
	mov	w14, #0
	b	LBB0_3
LBB0_2:
	ldr	w12, [x0, #20]
	udiv	w14, w12, w5
	cmp	w15, #0
	csel	w14, w12, w14, ne
LBB0_3:
	ubfx	w12, w1, #5, #1
	ldr	w20, [x0, #16]
	orr	w7, w3, w2
	and	w2, w4, w6
	tbz	w2, #0, LBB0_5
; %bb.4:
	mov	w3, #0
	b	LBB0_9
LBB0_5:
	cbz	w17, LBB0_7
; %bb.6:
	ldr	w17, [x0, #24]
	add	w3, w17, #255
	cmp	w17, #0
	csel	w17, w3, w17, lt
	asr	w3, w17, #8
	cbnz	w15, LBB0_9
	b	LBB0_8
LBB0_7:
	ldr	w3, [x0, #24]
LBB0_8:
	sdiv	w3, w3, w5
LBB0_9:
	and	w17, w1, #0x8
	cmp	w12, w20
	cset	w15, eq
	eor	w4, w7, #0x1
	and	w4, w15, w4
	tbz	w4, #0, LBB0_11
; %bb.10:
	mov	w15, #0
	b	LBB0_12
LBB0_11:
	ldr	w15, [x0, #28]
	cbz	w20, LBB0_16
LBB0_12:
	mov	w6, #0
	cmp	w17, #0
	cset	w21, ne
	orr	w21, w21, w7
	cmp	w12, w20
	csel	w7, w7, w21, eq
	cmp	w7, #1
	b.ne	LBB0_19
; %bb.13:
	cbz	w19, LBB0_19
; %bb.14:
	cbz	w20, LBB0_18
; %bb.15:
	ldr	w5, [x0, #32]
	add	w6, w5, #255
	cmp	w5, #0
	csel	w5, w6, w5, lt
	asr	w6, w5, #8
	b	LBB0_19
LBB0_16:
	mov	w6, #0
	cmp	w17, #0
	cset	w21, ne
	orr	w21, w21, w7
	cmp	w12, w20
	csel	w7, w7, w21, eq
	udiv	w15, w15, w5
	cmp	w7, #1
	b.ne	LBB0_19
; %bb.17:
	cbz	w19, LBB0_19
LBB0_18:
	ldr	w6, [x0, #32]
	add	w19, w6, #255
	cmp	w6, #0
	csel	w6, w19, w6, lt
	asr	w6, w6, #8
	sdiv	w6, w6, w5
LBB0_19:
	and	w5, w1, #0x40
	tbnz	w16, #0, LBB0_21
; %bb.20:
	cmp	w5, #0
	csinc	w16, w11, wzr, eq
	mul	w16, w14, w16
	str	w16, [x0, #20]
LBB0_21:
	and	w16, w1, #0x20
	tbnz	w2, #0, LBB0_26
; %bb.22:
	cbnz	w13, LBB0_24
; %bb.23:
	mul	w13, w3, w11
	b	LBB0_25
LBB0_24:
	add	w13, w14, w3, lsl #8
	cmp	w5, #0
	csinc	w14, w11, wzr, eq
	mul	w13, w13, w14
LBB0_25:
	str	w13, [x0, #24]
LBB0_26:
	cmp	w17, #0
	cset	w13, ne
	tbz	w4, #0, LBB0_29
; %bb.27:
	and	w13, w13, w7
	tbz	w13, #0, LBB0_35
; %bb.28:
	cbz	w16, LBB0_31
	b	LBB0_33
LBB0_29:
	cbnz	w16, LBB0_32
; %bb.30:
	mul	w14, w15, w11
	str	w14, [x0, #28]
	and	w13, w13, w7
	tbz	w13, #0, LBB0_35
LBB0_31:
	add	w13, w15, w6, lsl #8
	mul	w13, w13, w11
	b	LBB0_34
LBB0_32:
	str	w15, [x0, #28]
	and	w13, w13, w7
	tbz	w13, #0, LBB0_35
LBB0_33:
	add	w13, w15, w6, lsl #8
LBB0_34:
	str	w13, [x0, #32]
LBB0_35:
	dup.2s	v0, w1
Lloh0:
	adrp	x13, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x13, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	stp	w9, w12, [x0, #12]
	stp	w8, w10, [x0, #4]
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	stur	d0, [x0, #36]
	str	w11, [x0]
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Update_audctl
.subsections_via_symbols
