	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_sync_ptr
_pcm_sync_ptr:                          ## @pcm_sync_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	%esi, (%rdx)
	movl	8(%rdi), %edi
	movq	_SNDRV_PCM_IOCTL_SYNC_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioctl
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	js	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_IOCTL_SYNC_PTR,4,2   ## @SNDRV_PCM_IOCTL_SYNC_PTR
	.no_dead_strip	_pcm_sync_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_sync_ptr
_pcm_sync_ptr:                          ; @pcm_sync_ptr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x2, [x0]
	cbz	x2, LBB0_3
; %bb.1:
	str	w1, [x2]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _SNDRV_PCM_IOCTL_SYNC_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_IOCTL_SYNC_PTR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ioctl
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_IOCTL_SYNC_PTR,4,2   ; @SNDRV_PCM_IOCTL_SYNC_PTR
	.no_dead_strip	_pcm_sync_ptr
.subsections_via_symbols
