	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_linger
_check_linger:                          ## @check_linger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_FL_MIN_LINGER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_2
## %bb.1:
	movq	_HZ@GOTPCREL(%rip), %rcx
	imulq	(%rcx), %rax
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %rbx
	movq	_FL_MAX_LINGER@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jae	LBB0_5
## %bb.3:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_HZ@GOTPCREL(%rip), %rax
	imulq	(%rax), %rbx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FL_MIN_LINGER,8,3              ## @FL_MIN_LINGER
	.comm	_HZ,8,3                         ## @HZ
	.comm	_FL_MAX_LINGER,8,3              ## @FL_MAX_LINGER
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.no_dead_strip	_check_linger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_linger
_check_linger:                          ; @check_linger
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _FL_MIN_LINGER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FL_MIN_LINGER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mul	x0, x9, x8
	b	LBB0_6
LBB0_2:
	mov	x19, x0
Lloh6:
	adrp	x8, _FL_MAX_LINGER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FL_MAX_LINGER@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x0
	b.hs	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _HZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mul	x0, x8, x19
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FL_MIN_LINGER,8,3              ; @FL_MIN_LINGER
	.comm	_HZ,8,3                         ; @HZ
	.comm	_FL_MAX_LINGER,8,3              ; @FL_MAX_LINGER
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.no_dead_strip	_check_linger
.subsections_via_symbols
