	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_iec958_get
_pcxhr_iec958_get:                      ## @pcxhr_iec958_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_mutex_lock
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hr222_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_6
LBB0_1:
	movq	(%rbx), %rax
	movb	(%rax), %al
	movb	%al, -25(%rbp)
	jmp	LBB0_7
LBB0_4:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pcxhr_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
LBB0_6:
	movb	-25(%rbp), %al
LBB0_7:
	movq	(%r14), %rcx
	movb	%al, (%rcx)
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.8:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.9:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hr222_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_12
LBB0_13:
	movq	(%rbx), %rax
	movb	1(%rax), %al
	movb	%al, -25(%rbp)
	jmp	LBB0_14
LBB0_10:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pcxhr_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
LBB0_12:
	movb	-25(%rbp), %al
LBB0_14:
	movq	(%r14), %rcx
	movb	%al, 1(%rcx)
	cmpq	$0, (%r15)
	je	LBB0_20
## %bb.15:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_hr222_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_19
LBB0_20:
	movq	(%rbx), %rax
	movb	2(%rax), %al
	movb	%al, -25(%rbp)
	jmp	LBB0_21
LBB0_17:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_pcxhr_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
LBB0_19:
	movb	-25(%rbp), %al
LBB0_21:
	movq	(%r14), %rcx
	movb	%al, 2(%rcx)
	cmpq	$0, (%r15)
	je	LBB0_27
## %bb.22:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_24
## %bb.23:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_hr222_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_26
LBB0_27:
	movq	(%rbx), %rax
	movb	3(%rax), %al
	movb	%al, -25(%rbp)
	jmp	LBB0_28
LBB0_24:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_pcxhr_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
LBB0_26:
	movb	-25(%rbp), %al
LBB0_28:
	movq	(%r14), %rcx
	movb	%al, 3(%rcx)
	cmpq	$0, (%r15)
	je	LBB0_34
## %bb.29:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_31
## %bb.30:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_hr222_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
	jmp	LBB0_33
LBB0_34:
	movq	(%rbx), %rax
	movb	4(%rax), %al
	movb	%al, -25(%rbp)
	jmp	LBB0_35
LBB0_31:
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pcxhr_iec958_capture_byte
	testl	%eax, %eax
	jne	LBB0_36
LBB0_33:
	movb	-25(%rbp), %al
LBB0_35:
	movq	(%r14), %rcx
	movb	%al, 4(%rcx)
LBB0_36:
	movq	8(%rbx), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcxhr_iec958_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_iec958_get
_pcxhr_iec958_get:                      ; @pcxhr_iec958_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_mutex_lock
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.2:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #0
	bl	_hr222_iec958_capture_byte
	cbnz	w0, LBB0_31
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	ldrb	w8, [x8]
	strb	w8, [sp, #15]
	b	LBB0_6
LBB0_4:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #0
	bl	_pcxhr_iec958_capture_byte
	cbnz	w0, LBB0_31
LBB0_5:
	ldrb	w8, [sp, #15]
LBB0_6:
	ldr	x9, [x19]
	strb	w8, [x9]
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.8:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #1
	bl	_hr222_iec958_capture_byte
	cbnz	w0, LBB0_31
	b	LBB0_11
LBB0_9:
	ldr	x8, [x20]
	ldrb	w8, [x8, #1]
	strb	w8, [sp, #15]
	b	LBB0_12
LBB0_10:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #1
	bl	_pcxhr_iec958_capture_byte
	cbnz	w0, LBB0_31
LBB0_11:
	ldrb	w8, [sp, #15]
LBB0_12:
	ldr	x9, [x19]
	strb	w8, [x9, #1]
	ldr	x8, [x21]
	cbz	x8, LBB0_15
; %bb.13:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.14:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #2
	bl	_hr222_iec958_capture_byte
	cbnz	w0, LBB0_31
	b	LBB0_17
LBB0_15:
	ldr	x8, [x20]
	ldrb	w8, [x8, #2]
	strb	w8, [sp, #15]
	b	LBB0_18
LBB0_16:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #2
	bl	_pcxhr_iec958_capture_byte
	cbnz	w0, LBB0_31
LBB0_17:
	ldrb	w8, [sp, #15]
LBB0_18:
	ldr	x9, [x19]
	strb	w8, [x9, #2]
	ldr	x8, [x21]
	cbz	x8, LBB0_21
; %bb.19:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_22
; %bb.20:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #3
	bl	_hr222_iec958_capture_byte
	cbnz	w0, LBB0_31
	b	LBB0_23
LBB0_21:
	ldr	x8, [x20]
	ldrb	w8, [x8, #3]
	strb	w8, [sp, #15]
	b	LBB0_24
LBB0_22:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #3
	bl	_pcxhr_iec958_capture_byte
	cbnz	w0, LBB0_31
LBB0_23:
	ldrb	w8, [sp, #15]
LBB0_24:
	ldr	x9, [x19]
	strb	w8, [x9, #3]
	ldr	x8, [x21]
	cbz	x8, LBB0_27
; %bb.25:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_28
; %bb.26:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #4
	bl	_hr222_iec958_capture_byte
	cbnz	w0, LBB0_31
	b	LBB0_29
LBB0_27:
	ldr	x8, [x20]
	ldrb	w8, [x8, #4]
	strb	w8, [sp, #15]
	b	LBB0_30
LBB0_28:
	add	x2, sp, #15
	mov	x0, x20
	mov	w1, #4
	bl	_pcxhr_iec958_capture_byte
	cbnz	w0, LBB0_31
LBB0_29:
	ldrb	w8, [sp, #15]
LBB0_30:
	ldr	x9, [x19]
	strb	w8, [x9, #4]
LBB0_31:
	ldr	x0, [x20, #8]
	bl	_mutex_unlock
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcxhr_iec958_get
.subsections_via_symbols
