	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_get_formats
_snd_pcm_oss_get_formats:               ## @snd_pcm_oss_get_formats
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-48(%rbp), %rsi
	callq	_snd_pcm_oss_get_active_substream
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_oss_substream
	cmpl	$0, (%rax)
	je	LBB0_4
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	__snd_pcm_hw_params_any
	movq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_snd_pcm_hw_refine
	movl	%eax, %r15d
	movq	_SNDRV_PCM_HW_PARAM_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hw_param_mask
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_kfree
	testl	%r15d, %r15d
	js	LBB0_12
## %bb.8:
	xorl	%r12d, %r12d
	leaq	-40(%rbp), %r14
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	cmpl	$32, %ebx
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snd_mask_test
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %edi
	callq	_snd_pcm_oss_format_to
	testl	%eax, %eax
	cmovlel	%r12d, %eax
	orl	%eax, %r15d
	jmp	LBB0_11
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_12
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_4:
	movq	_AFMT_MU_LAW@GOTPCREL(%rip), %rax
	movq	_AFMT_U8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	_AFMT_S16_LE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S16_BE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S8@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_U16_LE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_U16_BE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S32_LE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S32_BE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S24_LE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S24_BE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_AFMT_S24_PACKED@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFMT_MU_LAW,4,2                ## @AFMT_MU_LAW
	.comm	_AFMT_U8,4,2                    ## @AFMT_U8
	.comm	_AFMT_S16_LE,4,2                ## @AFMT_S16_LE
	.comm	_AFMT_S16_BE,4,2                ## @AFMT_S16_BE
	.comm	_AFMT_S8,4,2                    ## @AFMT_S8
	.comm	_AFMT_U16_LE,4,2                ## @AFMT_U16_LE
	.comm	_AFMT_U16_BE,4,2                ## @AFMT_U16_BE
	.comm	_AFMT_S32_LE,4,2                ## @AFMT_S32_LE
	.comm	_AFMT_S32_BE,4,2                ## @AFMT_S32_BE
	.comm	_AFMT_S24_LE,4,2                ## @AFMT_S24_LE
	.comm	_AFMT_S24_BE,4,2                ## @AFMT_S24_BE
	.comm	_AFMT_S24_PACKED,4,2            ## @AFMT_S24_PACKED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SNDRV_PCM_HW_PARAM_FORMAT,4,2  ## @SNDRV_PCM_HW_PARAM_FORMAT
	.no_dead_strip	_snd_pcm_oss_get_formats
.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_get_formats
_snd_pcm_oss_get_formats:               ; @snd_pcm_oss_get_formats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	add	x1, sp, #8
	bl	_snd_pcm_oss_get_active_substream
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_atomic_read
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_oss_substream
	ldr	w8, [x0]
	cbz	w8, LBB0_11
LBB0_3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x20, x0
	bl	__snd_pcm_hw_params_any
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_snd_pcm_hw_refine
	mov	x19, x0
Lloh3:
	adrp	x8, _SNDRV_PCM_HW_PARAM_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_hw_param_mask
	ldr	w8, [x0]
	str	w8, [sp]
	mov	x0, x20
	bl	_kfree
	tbnz	w19, #31, LBB0_12
; %bb.5:
	mov	w20, #0
	mov	w19, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	cmp	w20, #32
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	x1, x20
	bl	_snd_mask_test
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_snd_pcm_oss_format_to
	cmp	w0, #0
	csel	w8, w0, wzr, gt
	orr	w19, w8, w19
	b	LBB0_6
LBB0_9:
	mov	x19, x0
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_12
LBB0_11:
Lloh9:
	adrp	x8, _AFMT_MU_LAW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AFMT_MU_LAW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AFMT_U8@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AFMT_U8@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _AFMT_S16_LE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AFMT_S16_LE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _AFMT_S16_BE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AFMT_S16_BE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _AFMT_S8@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AFMT_S8@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _AFMT_U16_LE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AFMT_U16_LE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _AFMT_U16_BE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AFMT_U16_BE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _AFMT_S32_LE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AFMT_S32_LE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _AFMT_S32_BE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AFMT_S32_BE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _AFMT_S24_LE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AFMT_S24_LE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _AFMT_S24_BE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AFMT_S24_BE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _AFMT_S24_PACKED@GOTPAGE
Lloh43:
	ldr	x9, [x9, _AFMT_S24_PACKED@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w19, w8, w9
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AFMT_MU_LAW,4,2                ; @AFMT_MU_LAW
	.comm	_AFMT_U8,4,2                    ; @AFMT_U8
	.comm	_AFMT_S16_LE,4,2                ; @AFMT_S16_LE
	.comm	_AFMT_S16_BE,4,2                ; @AFMT_S16_BE
	.comm	_AFMT_S8,4,2                    ; @AFMT_S8
	.comm	_AFMT_U16_LE,4,2                ; @AFMT_U16_LE
	.comm	_AFMT_U16_BE,4,2                ; @AFMT_U16_BE
	.comm	_AFMT_S32_LE,4,2                ; @AFMT_S32_LE
	.comm	_AFMT_S32_BE,4,2                ; @AFMT_S32_BE
	.comm	_AFMT_S24_LE,4,2                ; @AFMT_S24_LE
	.comm	_AFMT_S24_BE,4,2                ; @AFMT_S24_BE
	.comm	_AFMT_S24_PACKED,4,2            ; @AFMT_S24_PACKED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SNDRV_PCM_HW_PARAM_FORMAT,4,2  ; @SNDRV_PCM_HW_PARAM_FORMAT
	.no_dead_strip	_snd_pcm_oss_get_formats
.subsections_via_symbols
