	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_intel8x0_pcm_trigger
_snd_intel8x0_pcm_trigger:              ## @snd_intel8x0_pcm_trigger
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_get_ichdev
	movq	%rax, %r12
	xorl	%r14d, %r14d
	leal	-128(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_3
## %bb.1:
	movq	(%r12), %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_ICH_IOCE@GOTPCREL(%rip), %rax
	movq	_ICH_STARTBM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %r14b
	orb	(%rax), %r14b
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_4:
	movq	_ICH_IOCE@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
LBB0_5:
	movq	_ICH_REG_OFF_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movzbl	%r14b, %edx
	movq	%r15, %rdi
	callq	_iputbyte
	xorl	%r14d, %r14d
	cmpl	$129, %ebx
	jne	LBB0_9
## %bb.6:
	movq	_ICH_DCH@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_igetbyte
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.8:
	movq	_ICH_REG_OFF_CR@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	_ICH_RESETREGS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_iputbyte
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ICH_IOCE,1,0                   ## @ICH_IOCE
	.comm	_ICH_STARTBM,1,0                ## @ICH_STARTBM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ICH_REG_OFF_CR,8,3             ## @ICH_REG_OFF_CR
	.comm	_ICH_DCH,4,2                    ## @ICH_DCH
	.comm	_ICH_RESETREGS,1,0              ## @ICH_RESETREGS
	.no_dead_strip	_snd_intel8x0_pcm_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_intel8x0_pcm_trigger
_snd_intel8x0_pcm_trigger:              ; @snd_intel8x0_pcm_trigger
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x20, x0
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	mov	x0, x20
	bl	_get_ichdev
	sub	w9, w21, #128
	cmp	w9, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w8, #0
	ldr	x22, [x0]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x8, _ICH_IOCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICH_IOCE@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh4:
	adrp	x9, _ICH_STARTBM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ICH_STARTBM@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
Lloh9:
	adrp	x8, _ICH_IOCE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ICH_IOCE@GOTPAGEOFF]
	ldrb	w8, [x8]
LBB0_5:
Lloh11:
	adrp	x23, _ICH_REG_OFF_CR@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ICH_REG_OFF_CR@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x9, x22
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_iputbyte
	cmp	w21, #129
	b.ne	LBB0_9
; %bb.6:
Lloh13:
	adrp	x21, _ICH_DCH@GOTPAGE
Lloh14:
	ldr	x21, [x21, _ICH_DCH@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x22
	mov	x0, x19
	bl	_igetbyte
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.8:
	ldr	x8, [x23]
	add	x1, x8, x22
Lloh15:
	adrp	x8, _ICH_RESETREGS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ICH_RESETREGS@GOTPAGEOFF]
	ldrb	w2, [x8]
	mov	x0, x19
	bl	_iputbyte
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_ICH_IOCE,1,0                   ; @ICH_IOCE
	.comm	_ICH_STARTBM,1,0                ; @ICH_STARTBM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ICH_REG_OFF_CR,8,3             ; @ICH_REG_OFF_CR
	.comm	_ICH_DCH,4,2                    ; @ICH_DCH
	.comm	_ICH_RESETREGS,1,0              ; @ICH_RESETREGS
	.no_dead_strip	_snd_intel8x0_pcm_trigger
.subsections_via_symbols
