	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addrport_print_addr
_addrport_print_addr:                   ## @addrport_print_addr
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	addq	$8, %rdi
	callq	_rk_UNCONST
	movq	%rax, %rdi
	callq	_krb5_storage_from_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	_KRB5_STORAGE_BYTEORDER_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_krb5_storage_set_byteorder
	movq	_SEEK_CUR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_krb5_storage_seek
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_address
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_krb5_storage_seek
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_address
	movq	%rbx, %rdi
	callq	_krb5_storage_free
	movq	-72(%rbp), %rax
	movq	_KRB5_ADDRESS_IPPORT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	cmpl	$2, -64(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	-60(%rbp), %edi
	leaq	-48(%rbp), %rsi
	movl	$2, %edx
	callq	__krb5_get_int
	movl	-48(%rbp), %edx
LBB0_4:
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_strlcpy
	movq	%rax, %r13
	movq	%rax, -48(%rbp)
	cmpq	%r15, %rax
	movq	%r12, %r14
	movq	%r15, %r12
	cmovbq	%rax, %r12
	leaq	(%r14,%r12), %rsi
	movq	%r15, %rbx
	subq	%r12, %rbx
	leaq	-88(%rbp), %rdi
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_krb5_print_address
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	-48(%rbp), %rax
	addq	%rax, %r12
	cmpq	%rax, %rbx
	movq	%rax, %rbx
	cmovbeq	%r15, %r12
	addq	%r12, %r14
	subq	%r12, %r15
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	addl	%r13d, %ebx
	addl	%ebx, %eax
	jmp	LBB0_10
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ## @KRB5_STORAGE_BYTEORDER_LE
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_KRB5_ADDRESS_IPPORT,8,3        ## @KRB5_ADDRESS_IPPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADDRPORT:"

L_.str.1:                               ## @.str.1
	.asciz	",PORT=%u"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_addrport_print_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addrport_print_addr
_addrport_print_addr:                   ; @addrport_print_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	add	x0, x0, #8
	bl	_rk_UNCONST
	bl	_krb5_storage_from_data
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_krb5_storage_set_byteorder
Lloh3:
	adrp	x22, _SEEK_CUR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #2
	bl	_krb5_storage_seek
	add	x1, sp, #32
	mov	x0, x21
	bl	_krb5_ret_address
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #2
	bl	_krb5_storage_seek
	add	x1, sp, #16
	mov	x0, x21
	bl	_krb5_ret_address
	mov	x0, x21
	bl	_krb5_storage_free
	ldr	x8, [sp, #16]
Lloh5:
	adrp	x9, _KRB5_ADDRESS_IPPORT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KRB5_ADDRESS_IPPORT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w10, [sp, #24]
	cmp	x8, x9
	ccmp	w10, #2, #0, eq
	b.eq	LBB0_4
; %bb.2:
	mov	w21, #0
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	w0, [sp, #28]
	add	x1, sp, #8
	mov	w2, #2
	bl	__krb5_get_int
	ldr	w21, [sp, #8]
LBB0_5:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	mov	x22, x0
	str	x0, [sp, #8]
	cmp	x0, x19
	csel	x25, x0, x19, lo
	add	x1, x20, x25
	sub	x23, x19, x25
	add	x0, sp, #32
	add	x3, sp, #8
	mov	x2, x23
	bl	_krb5_print_address
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x24, [sp, #8]
	add	x8, x24, x25
	cmp	x23, x24
	csel	x8, x8, x19, hi
	add	x0, x20, x8
	sub	x1, x19, x8
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_snprintf
	tbnz	w0, #31, LBB0_8
; %bb.7:
	add	w8, w24, w22
	add	w0, w0, w8
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ; @KRB5_STORAGE_BYTEORDER_LE
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_KRB5_ADDRESS_IPPORT,8,3        ; @KRB5_ADDRESS_IPPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADDRPORT:"

l_.str.1:                               ; @.str.1
	.asciz	",PORT=%u"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_addrport_print_addr
.subsections_via_symbols
