	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_sockaddr_totext            ## -- Begin function isc_sockaddr_totext
	.p2align	4, 0x90
_isc_sockaddr_totext:                   ## @isc_sockaddr_totext
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_REQUIRE
	movl	16(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$130, %eax
	jne	LBB0_3
## %bb.2:
	leaq	12(%rbx), %rax
	jmp	LBB0_5
LBB0_4:
	leaq	8(%rbx), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rdx
	leaq	-38(%rbp), %r15
	movq	%r15, %rdi
	movl	$6, %esi
	movl	%eax, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %r15
	andl	$-2, %eax
	xorl	%edi, %edi
	cmpl	$6, %eax
	setb	%dil
	callq	_INSIST
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_isc_netaddr_fromsockaddr
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isc_netaddr_totext
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.6:
	leal	2(%r15), %ebx
	movq	%r14, %rdi
	callq	_isc_buffer_availablelength
	cmpl	%eax, %ebx
	jbe	LBB0_8
## %bb.7:
	movq	_ISC_R_NOSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_ISC_R_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_isc_buffer_putmem
	leaq	-38(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_isc_buffer_putmem
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_isc_buffer_availableregion
	xorl	%edi, %edi
	cmpl	$0, -64(%rbp)
	setg	%dil
	callq	_INSIST
	movq	-56(%rbp), %rax
	movb	$0, (%rax)
	movq	(%r12), %rax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_ISC_R_FAILURE,8,3              ## @ISC_R_FAILURE
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.comm	_ISC_R_NOSPACE,8,3              ## @ISC_R_NOSPACE
L_.str.1:                               ## @.str.1
	.asciz	"#"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_sockaddr_totext            ; -- Begin function isc_sockaddr_totext
	.p2align	2
_isc_sockaddr_totext:                   ; @isc_sockaddr_totext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	x0, #0
	cset	w0, ne
	bl	_REQUIRE
	ldr	w8, [x20, #16]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.2:
	add	x8, x20, #12
	b	LBB0_4
LBB0_3:
	add	x8, x20, #8
LBB0_4:
	ldr	w0, [x8]
	bl	_ntohs
	mov	x3, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #22
	mov	w1, #6
	bl	_snprintf
	add	x0, sp, #22
	bl	_strlen
	mov	x21, x0
	and	x8, x0, #0xfffffffe
	cmp	x8, #6
	cset	w0, lo
	bl	_INSIST
	add	x0, sp, #28
	mov	x1, x20
	bl	_isc_netaddr_fromsockaddr
	add	x0, sp, #28
	mov	x1, x19
	bl	_isc_netaddr_totext
Lloh2:
	adrp	x20, _ISC_R_SUCCESS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ISC_R_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	add	w22, w21, #2
	mov	x0, x19
	bl	_isc_buffer_availablelength
	cmp	w22, w0
	b.ls	LBB0_8
; %bb.6:
Lloh4:
	adrp	x8, _ISC_R_NOSPACE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISC_R_NOSPACE@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x8, _ISC_R_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ISC_R_FAILURE@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_8:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_isc_buffer_putmem
	add	x1, sp, #22
	mov	x0, x19
	mov	x2, x21
	bl	_isc_buffer_putmem
	mov	x1, sp
	mov	x0, x19
	bl	_isc_buffer_availableregion
	ldr	w8, [sp]
	cmp	w8, #0
	cset	w0, gt
	bl	_INSIST
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
	ldr	x0, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_ISC_R_FAILURE,8,3              ; @ISC_R_FAILURE
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_ISC_R_NOSPACE,8,3              ; @ISC_R_NOSPACE
l_.str.1:                               ; @.str.1
	.asciz	"#"

.subsections_via_symbols
