	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %rbx
	movl	%edi, %r12d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_bcm_host_init
	cmpl	$2, %r12d
	jl	LBB0_1
## %bb.3:
	movq	8(%rbx), %rdi
	callq	_atoi
	movl	$48000, %r15d                   ## imm = 0xBB80
	movl	$2, %r13d
	cmpl	$2, %r12d
	je	LBB0_7
## %bb.4:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rdi
	callq	_atoi
	movl	%eax, %r13d
	cmpl	$4, %r12d
	jb	LBB0_6
## %bb.5:
	movq	24(%rbx), %rdi
	callq	_atoi
	movl	%eax, %r15d
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_7:
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %r14d
	jmp	LBB0_9
LBB0_1:
	movl	$2, %r13d
	movl	$48000, %r15d                   ## imm = 0xBB80
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	%r15d, %edi
	movl	$16, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_play_api_test
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Outputting audio to %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"analogue"

L_.str.2:                               ## @.str.2
	.asciz	"hdmi"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x21, x1
	mov	x22, x0
	bl	_bcm_host_init
	cmp	w22, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x0, [x21, #8]
	bl	_atoi
	mov	x19, x0
	cmp	w22, #2
	b.ne	LBB0_4
; %bb.2:
	mov	w21, #48000
	mov	w20, #2
	cbnz	w19, LBB0_6
	b	LBB0_8
LBB0_3:
	mov	w20, #2
	mov	w21, #48000
	b	LBB0_8
LBB0_4:
	ldr	x0, [x21, #16]
	bl	_atoi
	mov	x20, x0
	cmp	w22, #4
	b.lo	LBB0_7
; %bb.5:
	ldr	x0, [x21, #24]
	bl	_atoi
	mov	x21, x0
	cbz	w19, LBB0_8
LBB0_6:
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	mov	w21, #48000
	cbnz	w19, LBB0_6
LBB0_8:
	mov	w19, #0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x21
	mov	w1, #16
	mov	x2, x20
	mov	x3, x19
	bl	_play_api_test
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Outputting audio to %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"analogue"

l_.str.2:                               ; @.str.2
	.asciz	"hdmi"

.subsections_via_symbols
