	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mixer_oss_get_recsrc
_snd_mixer_oss_get_recsrc:              ## @snd_mixer_oss_get_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), %r13
	movl	$0, -48(%rbp)
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	cmpq	$0, 24(%r13)
	je	LBB0_7
## %bb.3:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	*%rax
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movb	-48(%rbp), %cl
	movl	$1, %r12d
	shll	%cl, %r12d
LBB0_11:
	movl	%r12d, 8(%r13)
	jmp	LBB0_12
LBB0_7:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	addq	$8, %r15
	cmpq	$31, %rbx
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rsi
	movq	(%rsi,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	%r15, %rsi
	movl	$0, -44(%rbp)
	movq	%r14, %rdi
	leaq	-44(%rbp), %rdx
	callq	*%rcx
	movl	-44(%rbp), %eax
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	orl	%edx, %r12d
	jmp	LBB0_10
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_5:
	movl	%eax, %r12d
LBB0_12:
	movl	%r12d, %eax
	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_get_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_get_recsrc
_snd_mixer_oss_get_recsrc:              ; @snd_mixer_oss_get_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, #12]
	cbz	x21, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.3:
	add	x1, sp, #12
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_11
; %bb.4:
	ldr	w8, [sp, #12]
	mov	w9, #1
	lsl	w20, w9, w8
LBB0_5:
	str	w20, [x21, #8]
	b	LBB0_12
LBB0_6:
	mov	x22, #0
	mov	w23, #0
	mov	w20, #0
	mov	w24, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
	add	x22, x22, #8
	cmp	x22, #248
	b.eq	LBB0_5
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	add	x1, x8, x22
	ldr	x8, [x1]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	wzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #8]
	lsl	w9, w24, w23
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	orr	w20, w20, w8
	b	LBB0_7
LBB0_10:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
LBB0_11:
	mov	x20, x0
LBB0_12:
	mov	x0, x20
	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_get_recsrc
.subsections_via_symbols
