	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpfsync_syncdev              ## -- Begin function setpfsync_syncdev
	.p2align	4, 0x90
_setpfsync_syncdev:                     ## @setpfsync_syncdev
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bzero
	movq	_ifr@GOTPCREL(%rip), %rdx
	movq	%rbx, (%rdx)
	movq	_SIOCGETPFSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	-32(%rbp), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_SIOCSETPFSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ifr@GOTPCREL(%rip), %rdx
	movl	%r15d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifr,8,3                        ## @ifr
	.comm	_SIOCGETPFSYNC,4,2              ## @SIOCGETPFSYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SIOCGETPFSYNC"

	.comm	_SIOCSETPFSYNC,4,2              ## @SIOCSETPFSYNC
L_.str.1:                               ## @.str.1
	.asciz	"SIOCSETPFSYNC"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpfsync_syncdev              ; -- Begin function setpfsync_syncdev
	.p2align	2
_setpfsync_syncdev:                     ; @setpfsync_syncdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x0
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #4
	bl	_bzero
Lloh0:
	adrp	x2, _ifr@GOTPAGE
Lloh1:
	ldr	x2, [x2, _ifr@GOTPAGEOFF]
	str	x21, [x2]
Lloh2:
	adrp	x8, _SIOCGETPFSYNC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIOCGETPFSYNC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w0, [sp, #8]
	mov	x1, x20
	mov	w2, #4
	bl	_strlcpy
Lloh7:
	adrp	x8, _SIOCSETPFSYNC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SIOCSETPFSYNC@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, _ifr@GOTPAGE
Lloh11:
	ldr	x2, [x2, _ifr@GOTPAGEOFF]
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ifr,8,3                        ; @ifr
	.comm	_SIOCGETPFSYNC,4,2              ; @SIOCGETPFSYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SIOCGETPFSYNC"

	.comm	_SIOCSETPFSYNC,4,2              ; @SIOCSETPFSYNC
l_.str.1:                               ; @.str.1
	.asciz	"SIOCSETPFSYNC"

.subsections_via_symbols
