	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addressOK
_addressOK:                             ## @addressOK
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PGSQL_AF_INET@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	movl	$32, %eax
	movl	$128, %ebx
	cmovel	%eax, %ebx
	movl	$4, %eax
	movl	$16, %r15d
	cmovel	%eax, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	%esi, %ebx
	setge	%dil
	callq	_Assert
	movl	$1, %eax
	cmpl	%r12d, %ebx
	je	LBB0_6
## %bb.1:
	leal	7(%r12), %esi
	testl	%r12d, %r12d
	cmovnsl	%r12d, %esi
	sarl	$3, %esi
	cmpl	%r15d, %esi
	jge	LBB0_6
## %bb.2:
	movl	%r12d, %ecx
	andb	$7, %cl
	movl	$255, %edi
	movl	$255, %edx
	shrl	%cl, %edx
	testl	%r12d, %r12d
	cmovel	%edi, %edx
	movslq	%esi, %rcx
	movl	%r15d, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rcx), %edi
	testl	%edi, %edx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	movl	$255, %edx
	cmpq	%rcx, %rsi
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGSQL_AF_INET,4,2              ## @PGSQL_AF_INET
	.no_dead_strip	_addressOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addressOK
_addressOK:                             ; @addressOK
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PGSQL_AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGSQL_AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #128
	mov	w10, #32
	cmp	w8, w2
	csel	w22, w10, w9, eq
	mov	w8, #16
	mov	w9, #4
	csel	w21, w9, w8, eq
	cmp	w22, w1
	cset	w0, ge
	bl	_Assert
	cmp	w22, w20
	b.eq	LBB0_5
; %bb.1:
	add	w8, w20, #7
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w8, w8, #3
	cmp	w8, w21
	b.ge	LBB0_5
; %bb.2:
	and	w9, w20, #0x7
	mov	w10, #255
	lsr	w9, w10, w9
	cmp	w20, #0
	csel	w10, w10, w9, eq
	sxtw	x9, w8
	add	x8, x19, x9
	sub	x9, x21, x9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	tst	w10, w11
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	mov	w10, #255
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #1
LBB0_6:
	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
LBB0_7:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PGSQL_AF_INET,4,2              ; @PGSQL_AF_INET
	.no_dead_strip	_addressOK
.subsections_via_symbols
