	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createfilesource   ## -- Begin function isc_entropy_createfilesource
	.p2align	4, 0x90
_isc_entropy_createfilesource:          ## @isc_entropy_createfilesource
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	callq	_VALID_ENTROPY
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_REQUIRE
	movq	%r15, %rdi
	callq	_LOCK
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movq	_PF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	jmp	LBB0_5
LBB0_4:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_PORT_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_open
LBB0_5:
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_1
## %bb.6:
	movl	%r14d, %edi
	callq	_make_nonblock
	movq	%rax, %rbx
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_12
## %bb.7:
	testq	%r13, %r13
	je	LBB0_8
## %bb.9:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	-64(%rbp), %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_strncpy
	movq	-64(%rbp), %rax
	movl	$48, 28(%rax)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	$24, %edx
	callq	_connect
	testq	%rax, %rax
	js	LBB0_10
## %bb.14:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_15
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_isc__errno2result
	movq	%rax, %rbx
	jmp	LBB0_13
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movq	%r13, %r12
	cmpq	(%rax), %rdi
	jne	LBB0_11
LBB0_15:
	movl	12(%r15), %edi
	movl	$80, %esi
	callq	_isc_mem_get
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %rbx
	movq	_SOURCE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	%r15, 64(%rbx)
	movq	$0, 56(%rbx)
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movq	40(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ISC_LINK_INIT
	testq	%r13, %r13
	je	LBB0_22
## %bb.18:
	movl	%r14d, 16(%rbx)
	testq	%r12, %r12
	jne	LBB0_19
## %bb.20:
	movq	_isc_usocketsource_connecting@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_12
LBB0_22:
	movl	%r14d, 8(%rbx)
	movq	_ENTROPY_SOURCETYPE_FILE@GOTPCREL(%rip), %rax
	movq	_link@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_19:
	movq	_isc_usocketsource_connected@GOTPCREL(%rip), %rax
LBB0_21:
	movq	_link@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_ENTROPY_SOURCETYPE_USOCKET@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	8(%r15), %edi
	movl	(%rcx), %edx
	movq	%rbx, %rsi
	callq	_ISC_LIST_APPEND
	incl	4(%r15)
	movq	%r15, %rdi
	callq	_UNLOCK
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_24
LBB0_11:
	callq	_isc__errno2result
	movq	%rax, %rbx
LBB0_12:
	movl	%r14d, %edi
	callq	_close
LBB0_13:
	movq	%r15, %rdi
	callq	_UNLOCK
LBB0_24:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_errno,8,3                      ## @errno
	.comm	_PF_UNIX,4,2                    ## @PF_UNIX
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_PORT_NONBLOCK,4,2              ## @PORT_NONBLOCK
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_EINPROGRESS,8,3                ## @EINPROGRESS
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_ISC_R_NOMEMORY,8,3             ## @ISC_R_NOMEMORY
	.comm	_SOURCE_MAGIC,4,2               ## @SOURCE_MAGIC
	.comm	_link,4,2                       ## @link
	.comm	_isc_usocketsource_connected,4,2 ## @isc_usocketsource_connected
	.comm	_isc_usocketsource_connecting,4,2 ## @isc_usocketsource_connecting
	.comm	_ENTROPY_SOURCETYPE_USOCKET,4,2 ## @ENTROPY_SOURCETYPE_USOCKET
	.comm	_ENTROPY_SOURCETYPE_FILE,4,2    ## @ENTROPY_SOURCETYPE_FILE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createfilesource   ; -- Begin function isc_entropy_createfilesource
	.p2align	2
_isc_entropy_createfilesource:          ; @isc_entropy_createfilesource
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _ISC_FALSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ISC_FALSE@GOTPAGEOFF]
	ldr	x23, [x24]
	bl	_VALID_ENTROPY
	bl	_REQUIRE
	cmp	x21, #0
	cset	w0, ne
	bl	_REQUIRE
	mov	x0, x19
	bl	_LOCK
	add	x1, sp, #24
	mov	x0, x21
	bl	_stat
	tbnz	x0, #63, LBB0_8
; %bb.1:
	cbz	x23, LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _PF_UNIX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PF_UNIX@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
LBB0_3:
	mov	x0, x20
	bl	_make_nonblock
	mov	x22, x0
Lloh8:
	adrp	x25, _ISC_R_SUCCESS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ISC_R_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.4:
	cbz	x23, LBB0_9
; %bb.5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh10:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	w2, #8
	bl	_strncpy
	ldr	x8, [sp, #8]
	mov	w9, #48
	str	w9, [x8, #28]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #24
	bl	_connect
	tbnz	x0, #63, LBB0_10
; %bb.6:
Lloh13:
	adrp	x8, _ISC_TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ISC_TRUE@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
	b	LBB0_11
LBB0_7:
Lloh16:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _PORT_NONBLOCK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PORT_NONBLOCK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	mov	w2, #0
	bl	_open
	mov	x20, x0
	tbz	w0, #31, LBB0_3
LBB0_8:
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
	bl	_isc__errno2result
	mov	x22, x0
	b	LBB0_19
LBB0_9:
	mov	x22, #0
	b	LBB0_11
LBB0_10:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
Lloh28:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	mov	x22, x23
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_11:
	ldr	w0, [x19, #12]
	mov	w1, #80
	bl	_isc_mem_get
	cbz	x0, LBB0_14
; %bb.12:
	mov	x21, x0
Lloh31:
	adrp	x8, _SOURCE_MAGIC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SOURCE_MAGIC@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x0, #72]
	stp	xzr, x19, [x0, #56]
	ldr	x8, [x24]
	str	x8, [x0, #48]
	ldr	x0, [x0, #40]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh34:
	adrp	x24, _link@GOTPAGE
Lloh35:
	ldr	x24, [x24, _link@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_ISC_LINK_INIT
	cbz	x23, LBB0_15
; %bb.13:
	str	w20, [x21, #16]
Lloh36:
	adrp	x8, _isc_usocketsource_connecting@GOTPAGE
Lloh37:
	ldr	x8, [x8, _isc_usocketsource_connecting@GOTPAGEOFF]
Lloh38:
	adrp	x9, _isc_usocketsource_connected@GOTPAGE
Lloh39:
	ldr	x9, [x9, _isc_usocketsource_connected@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x21, #32]
	str	xzr, [x21, #24]
Lloh40:
	adrp	x8, _ENTROPY_SOURCETYPE_USOCKET@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENTROPY_SOURCETYPE_USOCKET@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh42:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
Lloh44:
	ldr	x22, [x8]
	b	LBB0_18
LBB0_15:
	str	w20, [x21, #8]
Lloh45:
	adrp	x8, _ENTROPY_SOURCETYPE_FILE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENTROPY_SOURCETYPE_FILE@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	w0, [x19, #8]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_ISC_LIST_APPEND
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_UNLOCK
	ldr	x22, [x25]
	b	LBB0_20
LBB0_17:
	bl	_isc__errno2result
	mov	x22, x0
LBB0_18:
	mov	x0, x20
	bl	_close
LBB0_19:
	mov	x0, x19
	bl	_UNLOCK
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_errno,8,3                      ; @errno
	.comm	_PF_UNIX,4,2                    ; @PF_UNIX
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_PORT_NONBLOCK,4,2              ; @PORT_NONBLOCK
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_EINPROGRESS,8,3                ; @EINPROGRESS
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_ISC_R_NOMEMORY,8,3             ; @ISC_R_NOMEMORY
	.comm	_SOURCE_MAGIC,4,2               ; @SOURCE_MAGIC
	.comm	_link,4,2                       ; @link
	.comm	_isc_usocketsource_connected,4,2 ; @isc_usocketsource_connected
	.comm	_isc_usocketsource_connecting,4,2 ; @isc_usocketsource_connecting
	.comm	_ENTROPY_SOURCETYPE_USOCKET,4,2 ; @ENTROPY_SOURCETYPE_USOCKET
	.comm	_ENTROPY_SOURCETYPE_FILE,4,2    ; @ENTROPY_SOURCETYPE_FILE
.subsections_via_symbols
