	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_iec958_put
_pcxhr_iec958_put:                      ## @pcxhr_iec958_put
	.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
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_mutex_lock
	movq	(%r14), %rax
	movq	(%rax), %rdx
	movq	(%rbx), %rax
	xorl	%r15d, %r15d
	cmpq	(%rax), %rdx
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hr222_iec958_update_byte
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pcxhr_iec958_update_byte
LBB0_4:
	movl	$1, %r15d
LBB0_5:
	movq	(%r14), %rax
	movq	8(%rax), %rdx
	movq	(%rbx), %rax
	cmpq	8(%rax), %rdx
	je	LBB0_9
## %bb.6:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.7:
	movl	$1, %r15d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hr222_iec958_update_byte
	jmp	LBB0_9
LBB0_8:
	movl	$1, %r15d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pcxhr_iec958_update_byte
LBB0_9:
	movq	(%r14), %rax
	movq	16(%rax), %rdx
	movq	(%rbx), %rax
	cmpq	16(%rax), %rdx
	je	LBB0_14
## %bb.10:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_hr222_iec958_update_byte
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_pcxhr_iec958_update_byte
LBB0_13:
	movl	$1, %r15d
LBB0_14:
	movq	(%r14), %rax
	movq	24(%rax), %rdx
	movq	(%rbx), %rax
	cmpq	24(%rax), %rdx
	je	LBB0_19
## %bb.15:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_hr222_iec958_update_byte
	jmp	LBB0_18
LBB0_17:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_pcxhr_iec958_update_byte
LBB0_18:
	movl	$1, %r15d
LBB0_19:
	movq	(%r14), %rax
	movq	32(%rax), %rdx
	movq	(%rbx), %rax
	cmpq	32(%rax), %rdx
	je	LBB0_24
## %bb.20:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_hr222_iec958_update_byte
	jmp	LBB0_23
LBB0_22:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pcxhr_iec958_update_byte
LBB0_23:
	movl	$1, %r15d
LBB0_24:
	movq	8(%rbx), %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcxhr_iec958_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_iec958_put
_pcxhr_iec958_put:                      ; @pcxhr_iec958_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_mutex_lock
	ldr	x8, [x20]
	ldr	x2, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_hr222_iec958_update_byte
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_pcxhr_iec958_update_byte
LBB0_5:
	mov	w21, #1
LBB0_6:
	ldr	x8, [x20]
	ldr	x2, [x8, #8]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cmp	x2, x8
	b.eq	LBB0_10
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	w21, #1
	mov	x0, x19
	mov	w1, #1
	bl	_hr222_iec958_update_byte
	b	LBB0_10
LBB0_9:
	mov	w21, #1
	mov	x0, x19
	mov	w1, #1
	bl	_pcxhr_iec958_update_byte
LBB0_10:
	ldr	x8, [x20]
	ldr	x2, [x8, #16]
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	cmp	x2, x8
	b.eq	LBB0_15
; %bb.11:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #2
	bl	_hr222_iec958_update_byte
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	mov	w1, #2
	bl	_pcxhr_iec958_update_byte
LBB0_14:
	mov	w21, #1
LBB0_15:
	ldr	x8, [x20]
	ldr	x2, [x8, #24]
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	cmp	x2, x8
	b.eq	LBB0_20
; %bb.16:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	w1, #3
	bl	_hr222_iec958_update_byte
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	w1, #3
	bl	_pcxhr_iec958_update_byte
LBB0_19:
	mov	w21, #1
LBB0_20:
	ldr	x8, [x20]
	ldr	x2, [x8, #32]
	ldr	x8, [x19]
	ldr	x8, [x8, #32]
	cmp	x2, x8
	b.eq	LBB0_25
; %bb.21:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_23
; %bb.22:
	mov	x0, x19
	mov	w1, #4
	bl	_hr222_iec958_update_byte
	b	LBB0_24
LBB0_23:
	mov	x0, x19
	mov	w1, #4
	bl	_pcxhr_iec958_update_byte
LBB0_24:
	mov	w21, #1
LBB0_25:
	ldr	x0, [x19, #8]
	bl	_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcxhr_iec958_put
.subsections_via_symbols
