	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getacqsize                     ## -- Begin function getacqsize
	.p2align	4, 0x90
_getacqsize:                            ## @getacqsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_setac_locked
	movq	_QSZ_CONTROL_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_getstrfromtype_locked
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	movq	_USE_DEFAULT_QSZ@GOTPCREL(%rip), %rcx
	movq	%r14, %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	movq	%rdi, -24(%rbp)
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %eax
	cmpb	$32, %al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %al
	je	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_sscanf
	movl	$-1, %ebx
	movq	_errno@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.8:
	movl	(%r14), %esi
	testl	%esi, %esi
	js	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	movq	_AQ_MAXHIGH@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jle	LBB0_11
LBB0_10:
	movl	(%rcx), %eax
	movl	%eax, (%rdx)
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_1:
	movl	$-2, %eax
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QSZ_CONTROL_ENTRY,4,2          ## @QSZ_CONTROL_ENTRY
	.comm	_USE_DEFAULT_QSZ,4,2            ## @USE_DEFAULT_QSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_AQ_MAXHIGH,4,2                 ## @AQ_MAXHIGH
	.comm	_mutex,4,2                      ## @mutex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getacqsize                     ; -- Begin function getacqsize
	.p2align	2
_getacqsize:                            ; @getacqsize
	.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
	mov	x19, x0
	bl	_setac_locked
Lloh0:
	adrp	x8, _QSZ_CONTROL_ENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSZ_CONTROL_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_getstrfromtype_locked
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	str	x0, [sp, #8]
	b	LBB0_2
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.5:
	ldr	w9, [x19]
	mov	w0, #-1
Lloh5:
	adrp	x19, _errno@GOTPAGE
Lloh6:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	tbnz	w9, #31, LBB0_11
; %bb.6:
Lloh9:
	adrp	x10, _AQ_MAXHIGH@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AQ_MAXHIGH@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w10
	b.gt	LBB0_11
; %bb.7:
	mov	w0, #0
	b	LBB0_12
LBB0_8:
	mov	w0, #-2
	b	LBB0_12
LBB0_9:
Lloh12:
	adrp	x8, _USE_DEFAULT_QSZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _USE_DEFAULT_QSZ@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	w0, #-1
Lloh14:
	adrp	x19, _errno@GOTPAGE
Lloh15:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_12:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_QSZ_CONTROL_ENTRY,4,2          ; @QSZ_CONTROL_ENTRY
	.comm	_USE_DEFAULT_QSZ,4,2            ; @USE_DEFAULT_QSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_AQ_MAXHIGH,4,2                 ; @AQ_MAXHIGH
	.comm	_mutex,4,2                      ; @mutex
.subsections_via_symbols
