	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decodeaddrtype
_decodeaddrtype:                        ## @decodeaddrtype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_AF
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	movb	$45, %cl
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_SRCADR
	movl	%eax, %edx
	andl	$-268435456, %edx               ## imm = 0xF0000000
	movb	$109, %cl
	cmpl	$-536870912, %edx               ## imm = 0xE0000000
	je	LBB0_7
## %bb.3:
	movb	$98, %cl
	cmpb	$-1, %al
	je	LBB0_7
## %bb.4:
	movb	$108, %cl
	cmpl	$2130706433, %eax               ## imm = 0x7F000001
	je	LBB0_7
## %bb.5:
	cmpl	$32, %eax
	movl	$45, %eax
	movl	$117, %ecx
	cmovbl	%eax, %ecx
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_PSOCK_ADDR6
	movl	%eax, %edi
	callq	_IN6_IS_ADDR_MULTICAST
	testl	%eax, %eax
	sete	%cl
	shlb	$3, %cl
	addb	$109, %cl
LBB0_7:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decodeaddrtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decodeaddrtype
_decodeaddrtype:                        ; @decodeaddrtype
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_AF
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_SRCADR
	mov	w8, #109
	lsr	w9, w0, #28
	mvn	w10, w0
	mov	w11, #108
	mov	w12, #1
	movk	w12, #32512, lsl #16
	mov	w13, #117
	mov	w14, #45
	cmp	w0, #32
	csel	w13, w14, w13, lo
	cmp	w0, w12
	csel	w11, w11, w13, eq
	tst	w10, #0xff
	mov	w10, #98
	csel	w10, w10, w11, eq
	cmp	w9, #14
	csel	w0, w8, w10, eq
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_PSOCK_ADDR6
	bl	_IN6_IS_ADDR_MULTICAST
	mov	w8, #109
	mov	w9, #117
	cmp	w0, #0
	csel	w0, w9, w8, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #45
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decodeaddrtype
.subsections_via_symbols
