	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_set_format
_snd_pcm_oss_set_format:                ## @snd_pcm_oss_set_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_AFMT_QUERY@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
LBB0_10:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_pcm_oss_get_format         ## TAILCALL
LBB0_1:
	movl	%esi, %ebx
	movq	%r14, %rdi
	callq	_snd_pcm_oss_get_formats
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	testl	%ebx, %eax
	jne	LBB0_4
## %bb.3:
	movq	_AFMT_U8@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	(%r14), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movl	$1, 4(%rax)
	movl	%ebx, (%rax)
LBB0_7:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movl	$1, 4(%rax)
	movl	%ebx, (%rax)
	jmp	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFMT_QUERY,4,2                 ## @AFMT_QUERY
	.comm	_AFMT_U8,4,2                    ## @AFMT_U8
	.no_dead_strip	_snd_pcm_oss_set_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_oss_set_format
_snd_pcm_oss_set_format:                ; @snd_pcm_oss_set_format
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AFMT_QUERY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AFMT_QUERY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_pcm_oss_get_format
LBB0_2:
	mov	x20, x1
	mov	x0, x19
	bl	_snd_pcm_oss_get_formats
	tbnz	w0, #31, LBB0_9
; %bb.3:
Lloh3:
	adrp	x8, _AFMT_U8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AFMT_U8@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w0, w20
	csel	w20, w8, w20, eq
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x8]
	bl	_oss_runtime
	ldr	w8, [x0]
	cmp	w8, w20
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #1
	stp	w20, w8, [x0]
LBB0_6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.7:
	ldr	w0, [x8]
	bl	_oss_runtime
	ldr	w8, [x0]
	cmp	w8, w20
	b.eq	LBB0_1
; %bb.8:
	mov	w8, #1
	stp	w20, w8, [x0]
	b	LBB0_1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AFMT_QUERY,4,2                 ; @AFMT_QUERY
	.comm	_AFMT_U8,4,2                    ; @AFMT_U8
	.no_dead_strip	_snd_pcm_oss_set_format
.subsections_via_symbols
