	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guess_key_type
_guess_key_type:                        ## @guess_key_type
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movsbl	(%rdi), %edi
	callq	_ishexnumber
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpb	$58, (%r15)
	jne	LBB0_12
LBB0_2:
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$0, (%rbx)
LBB0_4:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_inet_pton
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_inet_pton
	cmpl	$1, %eax
	jne	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	movq	_IPFW_TABLE_CIDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.7:
	movb	$47, (%rbx)
	jmp	LBB0_17
LBB0_8:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-40(%rbp), %rax
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_9
## %bb.10:
	cmpq	%r15, %rax
	je	LBB0_12
## %bb.11:
	movl	$1, %eax
	cmpb	$46, %cl
	je	LBB0_17
LBB0_12:
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_lookup_host
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_17
## %bb.15:
	movq	_IPFW_TABLE_CIDR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_IPFW_TABLE_INTERFACE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:
	movq	_IPFW_TABLE_NUMBER@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_IPFW_TABLE_CIDR,4,2            ## @IPFW_TABLE_CIDR
	.comm	_IPFW_TABLE_NUMBER,4,2          ## @IPFW_TABLE_NUMBER
	.comm	_IPFW_TABLE_INTERFACE,4,2       ## @IPFW_TABLE_INTERFACE
	.no_dead_strip	_guess_key_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guess_key_type
_guess_key_type:                        ; @guess_key_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldrsb	w0, [x0]
	bl	_ishexnumber
	cbnz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #58
	b.ne	LBB0_11
LBB0_2:
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	mov	x21, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x21]
LBB0_4:
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x2, sp
	mov	x1, x20
	bl	_inet_pton
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x2, sp
	mov	x1, x20
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _IPFW_TABLE_CIDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPFW_TABLE_CIDR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	cbz	x21, LBB0_18
; %bb.7:
	mov	w8, #47
	strb	w8, [x21]
	b	LBB0_18
LBB0_8:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtol
	ldr	x9, [sp, #8]
	ldrb	w8, [x9]
	cbz	w8, LBB0_15
; %bb.9:
	cmp	x9, x20
	b.eq	LBB0_11
; %bb.10:
	cmp	w8, #46
	b.eq	LBB0_13
LBB0_11:
	mov	x0, x20
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.12:
	mov	x1, sp
	mov	x0, x20
	bl	_lookup_host
	cbz	x0, LBB0_16
LBB0_13:
	mov	w0, #1
	b	LBB0_18
LBB0_14:
Lloh9:
	adrp	x8, _IPFW_TABLE_INTERFACE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPFW_TABLE_INTERFACE@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
	mov	w0, #0
Lloh11:
	adrp	x8, _IPFW_TABLE_NUMBER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IPFW_TABLE_NUMBER@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh13:
	adrp	x8, _IPFW_TABLE_CIDR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPFW_TABLE_CIDR@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_IPFW_TABLE_CIDR,4,2            ; @IPFW_TABLE_CIDR
	.comm	_IPFW_TABLE_NUMBER,4,2          ; @IPFW_TABLE_NUMBER
	.comm	_IPFW_TABLE_INTERFACE,4,2       ; @IPFW_TABLE_INTERFACE
	.no_dead_strip	_guess_key_type
.subsections_via_symbols
