	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function explore_null
_explore_null:                          ## @explore_null
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, (%rdx)
	movq	(%rdi), %rdi
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movq	_SOCK_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	callq	__socket
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %edi
	callq	__close
	jmp	LBB0_4
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EMFILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_4:
	movq	(%rbx), %rdi
	callq	_find_afd
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	8(%rbx), %ecx
	setne	%dl
	movl	(%rax,%rdx,4), %edx
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_GET_AI
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_GET_PORT
	movq	$0, (%r15)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_LOCAL,8,3                   ## @PF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_SOCK_CLOEXEC,4,2               ## @SOCK_CLOEXEC
	.comm	_errno,8,3                      ## @errno
	.comm	_EMFILE,8,3                     ## @EMFILE
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.no_dead_strip	_explore_null
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function explore_null
_explore_null:                          ; @explore_null
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	str	xzr, [x2]
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SOCK_CLOEXEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_CLOEXEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #0
	bl	__socket
	tbnz	w0, #31, LBB0_3
; %bb.2:
	bl	__close
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _EMFILE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EMFILE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_4:
	ldr	x0, [x21]
	bl	_find_afd
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
Lloh15:
	adrp	x8, _AI_PASSIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AI_PASSIVE@GOTPAGEOFF]
	ldr	w9, [x21, #8]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w8, ne
	ldr	w2, [x0, w8, uxtw #2]
	mov	x0, #0
	bl	_GET_AI
	mov	x0, #0
	mov	x1, x20
	bl	_GET_PORT
	str	xzr, [x19]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_LOCAL,8,3                   ; @PF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_SOCK_CLOEXEC,4,2               ; @SOCK_CLOEXEC
	.comm	_errno,8,3                      ; @errno
	.comm	_EMFILE,8,3                     ; @EMFILE
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.no_dead_strip	_explore_null
.subsections_via_symbols
