	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mixer_oss_set_recsrc
_snd_mixer_oss_set_recsrc:              ## @snd_mixer_oss_set_recsrc
	.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
	movq	(%rdi), %r12
	movl	$0, -44(%rbp)
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.3:
	movq	24(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movl	(%r12), %eax
	notl	%eax
	andl	%r15d, %eax
	cmovnel	%eax, %r15d
	movl	%r15d, %edi
	notl	%edi
	callq	_ffz
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*%rbx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	*16(%r12)
	movb	-44(%rbp), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, -44(%rbp)
LBB0_5:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	addq	$16, %r13
	cmpq	$31, %rbx
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	movq	8(%rsi,%r13), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%r13, %rsi
	xorl	%edx, %edx
	btl	%ebx, %r15d
	setb	%dl
	movq	%r14, %rdi
	callq	*%rax
	jmp	LBB0_8
LBB0_9:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	addq	$16, %r13
	cmpq	$31, %rbx
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	movq	(%rsi,%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%r13, %rsi
	movl	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	*%rax
	cmpl	$0, -48(%rbp)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	orl	%eax, -44(%rbp)
	jmp	LBB0_14
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_15:
	movl	-44(%rbp), %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_snd_mixer_oss_set_recsrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_mixer_oss_set_recsrc
_snd_mixer_oss_set_recsrc:              ; @snd_mixer_oss_set_recsrc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x21, [x0]
	str	wzr, [sp, #8]
	cbz	x21, LBB0_14
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x22, [x21, #24]
	cbz	x22, LBB0_4
; %bb.3:
	ldr	w8, [x21]
	bics	w8, w20, w8
	csel	w20, w20, w8, eq
	mvn	w0, w20
	bl	_ffz
	mov	x1, x0
	mov	x0, x19
	blr	x22
	ldr	x8, [x21, #16]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #8]
	mov	w9, #1
	lsl	w8, w9, w8
	str	w8, [sp, #8]
LBB0_4:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	add	x22, x22, #16
	cmp	x23, #31
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x22
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	lsr	w9, w20, w23
	and	w2, w9, #0x1
	mov	x0, x19
	blr	x8
	b	LBB0_5
LBB0_8:
	ldr	w0, [sp, #8]
	cbnz	w0, LBB0_16
; %bb.9:
	mov	x20, #0
	mov	x22, #0
	mov	w23, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	add	x20, x20, #16
	cmp	x22, #31
	b.eq	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x20
	ldr	x8, [x1]
	cbz	x8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	str	wzr, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	lsl	w8, w23, w22
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	b	LBB0_10
LBB0_14:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_15:
	ldr	w0, [sp, #8]
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_snd_mixer_oss_set_recsrc
.subsections_via_symbols
