	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getcapnum                ## -- Begin function login_getcapnum
	.p2align	4, 0x90
_login_getcapnum:                       ## @login_getcapnum
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.2:
	movl	%ecx, %r14d
	movq	%rsi, %r15
	leaq	-48(%rbp), %rdx
	callq	_cgetstr
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.6:
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rdi
	callq	_isinfinite
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_RLIM_INFINITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_15
LBB0_3:
	movq	8(%rbx), %rdi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_cgetnum
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.4:
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movl	-56(%rbp), %r12d
	jmp	LBB0_15
LBB0_7:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_14
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	movq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoq
	movl	%eax, %r12d
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %r8
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	cmpq	%r8, %rax
	je	LBB0_13
## %bb.12:
	cmpq	$0, (%r13)
	je	LBB0_15
LBB0_13:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rcx
	callq	_syslog
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_14:
	movl	%r14d, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_errno,8,3                      ## @errno
	.comm	_RLIM_INFINITY,4,2              ## @RLIM_INFINITY
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"login_getcapnum: class '%s' bad value %s=%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getcapnum                ; -- Begin function login_getcapnum
	.p2align	2
_login_getcapnum:                       ; @login_getcapnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	cbz	x0, LBB0_15
; %bb.1:
	mov	x22, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_15
; %bb.2:
	mov	x19, x3
	mov	x20, x1
	mov	x2, sp
	bl	_cgetstr
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	tbnz	w0, #31, LBB0_9
; %bb.4:
	ldr	x0, [sp]
	bl	_isinfinite
	cbz	x0, LBB0_10
; %bb.5:
Lloh0:
	adrp	x8, _RLIM_INFINITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLIM_INFINITY@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_6:
	ldr	x0, [x22, #8]
	add	x2, sp, #8
	mov	x1, x20
	bl	_cgetnum
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.7:
	tbnz	w0, #31, LBB0_9
; %bb.8:
	ldr	w21, [sp, #8]
	b	LBB0_15
LBB0_9:
Lloh3:
	adrp	x8, _ERANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	x8, [x9]
	b	LBB0_14
LBB0_10:
Lloh9:
	adrp	x23, _errno@GOTPAGE
Lloh10:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
	ldr	x0, [sp]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoq
	ldp	x4, x8, [sp]
	cbz	x8, LBB0_13
; %bb.11:
	cmp	x8, x4
	b.eq	LBB0_13
; %bb.12:
	mov	x21, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_15
LBB0_13:
Lloh11:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w2, [x22]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_syslog
Lloh16:
	adrp	x8, _ERANGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x23]
LBB0_14:
	mov	x21, x19
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_errno,8,3                      ; @errno
	.comm	_RLIM_INFINITY,4,2              ; @RLIM_INFINITY
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"login_getcapnum: class '%s' bad value %s=%s"

.subsections_via_symbols
