	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpfsync_maxupd               ## -- Begin function setpfsync_maxupd
	.p2align	4, 0x90
_setpfsync_maxupd:                      ## @setpfsync_maxupd
	.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, %r14d
	movq	%rdi, %rbx
	callq	_atoi
	movl	%eax, %r15d
	cmpl	$256, %eax                      ## imm = 0x100
	jb	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
LBB0_2:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_ifr@GOTPCREL(%rip), %rdx
	movq	%rbx, (%rdx)
	movq	_SIOCGETPFSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	%r15d, -32(%rbp)
	movq	_SIOCSETPFSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ifr@GOTPCREL(%rip), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"maxupd %s: out of range"

	.comm	_ifr,8,3                        ## @ifr
	.comm	_SIOCGETPFSYNC,4,2              ## @SIOCGETPFSYNC
L_.str.1:                               ## @.str.1
	.asciz	"SIOCGETPFSYNC"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setpfsync_maxupd               ; -- Begin function setpfsync_maxupd
	.p2align	2
_setpfsync_maxupd:                      ; @setpfsync_maxupd
	.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	x21, x0
	bl	_atoi
	mov	x20, x0
	cmp	w0, #256
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_errx
LBB0_2:
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh2:
	adrp	x2, _ifr@GOTPAGE
Lloh3:
	ldr	x2, [x2, _ifr@GOTPAGEOFF]
	str	x21, [x2]
Lloh4:
	adrp	x8, _SIOCGETPFSYNC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIOCGETPFSYNC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	str	w20, [sp, #8]
Lloh9:
	adrp	x8, _SIOCSETPFSYNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCSETPFSYNC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, _ifr@GOTPAGE
Lloh13:
	ldr	x2, [x2, _ifr@GOTPAGEOFF]
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"maxupd %s: out of range"

	.comm	_ifr,8,3                        ; @ifr
	.comm	_SIOCGETPFSYNC,4,2              ; @SIOCGETPFSYNC
l_.str.1:                               ; @.str.1
	.asciz	"SIOCGETPFSYNC"

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

.subsections_via_symbols
