	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_changekey
_do_changekey:                          ## @do_changekey
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, -44(%rbp)
	movq	_impl_ver@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	subq	$8, %rsp
	leaq	-64(%rbp), %r10
	leaq	-72(%rbp), %r11
	leaq	-80(%rbp), %rax
	leaq	-44(%rbp), %r9
	movl	%ebx, %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$4, %r8d
	pushq	$8
	pushq	$0
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_doquery
	addq	$48, %rsp
	movq	_INFO_ERR_IMPL@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.1:
	movq	(%r12), %rcx
	movq	_IMPL_XNTPD@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rcx
	jne	LBB0_5
## %bb.2:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IMPL_XNTPD_OLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%r12)
	subq	$8, %rsp
	movl	%ebx, %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$4, %r8d
	movq	%r15, %r9
	pushq	$8
	pushq	$0
	leaq	-64(%rbp), %rax
	pushq	%rax
	leaq	-72(%rbp), %rax
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	callq	_doquery
	addq	$48, %rsp
	cmpl	(%r14), %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rcx
	cmpq	(%r13), %rcx
	je	LBB0_4
LBB0_5:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movl	$6, %esi
	movl	$1, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_impl_ver,8,3                   ## @impl_ver
	.comm	_INFO_ERR_IMPL,4,2              ## @INFO_ERR_IMPL
	.comm	_IMPL_XNTPD,8,3                 ## @IMPL_XNTPD
	.comm	_IMPL_XNTPD_OLD,8,3             ## @IMPL_XNTPD_OLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"done!\n"

	.no_dead_strip	_do_changekey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_changekey
_do_changekey:                          ; @do_changekey
	.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	x20, x2
	mov	x19, x1
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [sp, #44]
Lloh0:
	adrp	x21, _impl_ver@GOTPAGE
Lloh1:
	ldr	x21, [x21, _impl_ver@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x8, #34359738368
	add	x9, sp, #16
	stp	x9, x8, [sp]
	add	x5, sp, #44
	add	x6, sp, #32
	add	x7, sp, #24
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	mov	w4, #4
	bl	_doquery
Lloh2:
	adrp	x22, _INFO_ERR_IMPL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INFO_ERR_IMPL@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x21]
Lloh4:
	adrp	x23, _IMPL_XNTPD@GOTPAGE
Lloh5:
	ldr	x23, [x23, _IMPL_XNTPD@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x24, _IMPL_XNTPD_OLD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IMPL_XNTPD_OLD@GOTPAGEOFF]
	mov	x25, #34359738368
	add	x26, sp, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	str	x0, [x21]
	stp	x26, x25, [sp]
	add	x5, sp, #44
	add	x6, sp, #32
	add	x7, sp, #24
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	mov	w4, #4
	bl	_doquery
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_5:
	cbnz	w0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #6
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_impl_ver,8,3                   ; @impl_ver
	.comm	_INFO_ERR_IMPL,4,2              ; @INFO_ERR_IMPL
	.comm	_IMPL_XNTPD,8,3                 ; @IMPL_XNTPD
	.comm	_IMPL_XNTPD_OLD,8,3             ; @IMPL_XNTPD_OLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"done!\n"

	.no_dead_strip	_do_changekey
.subsections_via_symbols
