	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getentropy_sysctl
_getentropy_sysctl:                     ## @getentropy_sysctl
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	movq	_SYS__sysctl@GOTPCREL(%rip), %r13
	leaq	-88(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r12
	jae	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	subq	%r12, %rdi
	movl	$16, %esi
	callq	_min
	movq	%rax, -56(%rbp)
	leaq	_getentropy_sysctl.mib(%rip), %rax
	movq	%rax, -88(%rbp)
	movl	$3, -80(%rbp)
	leaq	(%r14,%r12), %rax
	movq	%rax, -72(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_syscall
	addq	-56(%rbp), %r12
	testq	%rax, %rax
	je	LBB0_1
	jmp	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gotdata
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%edx, (%rcx)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @getentropy_sysctl.mib
_getentropy_sysctl.mib:
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.comm	_errno,4,2                      ## @errno
	.comm	_SYS__sysctl,4,2                ## @SYS__sysctl
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_getentropy_sysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getentropy_sysctl
_getentropy_sysctl:                     ; @getentropy_sysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x23, #0
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w22, [x21]
Lloh2:
	adrp	x24, _getentropy_sysctl.mib@PAGE
Lloh3:
	add	x24, x24, _getentropy_sysctl.mib@PAGEOFF
	mov	w25, #3
	add	x26, sp, #40
Lloh4:
	adrp	x27, _SYS__sysctl@GOTPAGE
Lloh5:
	ldr	x27, [x27, _SYS__sysctl@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x19
	b.hs	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x0, x19, x23
	mov	w1, #16
	bl	_min
	stp	x26, x0, [sp, #32]
	str	x24, [sp, #8]
	str	w25, [sp, #16]
	add	x8, x20, x23
	str	x8, [sp, #24]
	ldr	w0, [x27]
	add	x1, sp, #8
	bl	_syscall
	ldr	x8, [sp, #40]
	add	x23, x8, x23
	cbz	x0, LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_gotdata
	cbz	x0, LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	w0, #-1
LBB0_5:
	str	w22, [x21]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @getentropy_sysctl.mib
_getentropy_sysctl.mib:
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.comm	_errno,4,2                      ; @errno
	.comm	_SYS__sysctl,4,2                ; @SYS__sysctl
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_getentropy_sysctl
.subsections_via_symbols
