	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chgpw_send_request
_chgpw_send_request:                    ## @chgpw_send_request
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%r8d, %r8d
	je	LBB0_2
LBB0_1:
	movq	_KRB5_KPASSWD_MALFORMED@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r9d, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movl	%edi, %r15d
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movl	%r15d, %edi
	movq	%rcx, %rdx
	callq	_krb5_principal_compare
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_4:
	leaq	-160(%rbp), %r13
	movq	%r13, %rdi
	callq	_krb5_data_zero
	movq	_AP_OPTS_MUTUAL_REQUIRED@GOTPCREL(%rip), %rax
	movq	_AP_OPTS_USE_SUBKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_krb5_mk_req_extended
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rk_UNCONST
	movq	%rax, -168(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -176(%rbp)
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_krb5_data_zero
	movl	(%r12), %esi
	leaq	-176(%rbp), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_krb5_mk_priv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movl	-160(%rbp), %eax
	movl	-144(%rbp), %ecx
	addl	%eax, %ecx
	addl	$6, %ecx
	movzbl	%ch, %edx
	movl	%edx, -80(%rbp)
	movzbl	%cl, %ecx
	movl	%ecx, -76(%rbp)
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, -72(%rbp)
	movzbl	%ah, %ecx
	movl	%ecx, -64(%rbp)
	movzbl	%al, %eax
	movl	%eax, -60(%rbp)
	leaq	-224(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, -192(%rbp)
	leaq	-128(%rbp), %rax
	movq	%rax, -200(%rbp)
	movl	$3, -224(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -120(%rbp)
	movl	$6, -128(%rbp)
	movq	-152(%rbp), %rax
	movq	%rax, -104(%rbp)
	movl	-160(%rbp), %eax
	movl	%eax, -112(%rbp)
	movq	-136(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	-144(%rbp), %eax
	movl	%eax, -96(%rbp)
	movl	%r14d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_sendmsg
	movl	%eax, %edi
	callq	_rk_IS_SOCKET_ERROR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	24(%rbp), %r14
	movq	_rk_SOCK_ERRNO@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strerror
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	_krb5_set_error_message
LBB0_8:
	leaq	-144(%rbp), %rdi
	callq	_krb5_data_free
LBB0_9:
	leaq	-160(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_KPASSWD_MALFORMED,8,3     ## @KRB5_KPASSWD_MALFORMED
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_AP_OPTS_MUTUAL_REQUIRED,4,2    ## @AP_OPTS_MUTUAL_REQUIRED
	.comm	_AP_OPTS_USE_SUBKEY,4,2         ## @AP_OPTS_USE_SUBKEY
	.comm	_rk_SOCK_ERRNO,8,3              ## @rk_SOCK_ERRNO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sendmsg %s: %s"

	.no_dead_strip	_chgpw_send_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function chgpw_send_request
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_chgpw_send_request:                    ; @chgpw_send_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	w4, LBB0_4
LBB0_1:
Lloh3:
	adrp	x8, _KRB5_KPASSWD_MALFORMED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_KPASSWD_MALFORMED@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.3:
	mov	x0, x24
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_4:
	mov	x19, x7
	mov	x23, x6
	mov	x21, x5
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
	cbz	x3, LBB0_6
; %bb.5:
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x3
	bl	_krb5_principal_compare
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_1
LBB0_6:
	add	x0, sp, #80
	bl	_krb5_data_zero
Lloh12:
	adrp	x8, _AP_OPTS_MUTUAL_REQUIRED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AP_OPTS_MUTUAL_REQUIRED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _AP_OPTS_USE_SUBKEY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AP_OPTS_USE_SUBKEY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x5, sp, #80
	mov	x0, x20
	mov	x1, x22
	mov	x3, #0
	mov	x4, x24
	bl	_krb5_mk_req_extended
	mov	x24, x0
	cbnz	x0, LBB0_2
; %bb.7:
	mov	x0, x23
	bl	_rk_UNCONST
	str	x0, [sp, #56]
	mov	x0, x23
	bl	_strlen
	str	w0, [sp, #48]
	add	x0, sp, #64
	bl	_krb5_data_zero
	ldr	w1, [x22]
	add	x2, sp, #48
	add	x3, sp, #64
	mov	x0, x20
	mov	x4, #0
	bl	_krb5_mk_priv
	mov	x24, x0
	cbnz	x0, LBB0_12
; %bb.8:
	ldr	w8, [sp, #80]
	ldr	w9, [sp, #64]
	add	w9, w8, w9
	add	w9, w9, #6
	ubfx	w10, w9, #8, #8
	and	w9, w9, #0xff
	stp	w10, w9, [x29, #-80]
Lloh18:
	adrp	x9, lCPI0_0@PAGE
Lloh19:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x29, #-72]
	ubfx	w9, w8, #8, #8
	and	w8, w8, #0xff
	stp	w9, w8, [x29, #-64]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	stp	xzr, xzr, [sp, #32]
	add	x8, sp, #96
	str	x8, [sp, #24]
	mov	w8, #3
	str	w8, [sp]
	sub	x8, x29, #80
	str	x8, [sp, #104]
	mov	w8, #6
	str	w8, [sp, #96]
	ldr	x8, [sp, #88]
	str	x8, [sp, #120]
	ldr	w8, [sp, #80]
	str	w8, [sp, #112]
	ldr	x8, [sp, #72]
	str	x8, [sp, #136]
	ldr	w8, [sp, #64]
	str	w8, [sp, #128]
	mov	x1, sp
	mov	x0, x21
	mov	w2, #0
	bl	_sendmsg
	bl	_rk_IS_SOCKET_ERROR
	cbz	x0, LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _rk_SOCK_ERRNO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _rk_SOCK_ERRNO@GOTPAGEOFF]
Lloh22:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_strerror
	mov	x4, x0
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	mov	x3, x19
	bl	_krb5_set_error_message
	b	LBB0_11
LBB0_10:
	mov	x24, #0
LBB0_11:
	add	x0, sp, #64
	bl	_krb5_data_free
LBB0_12:
	add	x0, sp, #80
	bl	_krb5_data_free
	b	LBB0_2
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_KPASSWD_MALFORMED,8,3     ; @KRB5_KPASSWD_MALFORMED
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_AP_OPTS_MUTUAL_REQUIRED,4,2    ; @AP_OPTS_MUTUAL_REQUIRED
	.comm	_AP_OPTS_USE_SUBKEY,4,2         ; @AP_OPTS_USE_SUBKEY
	.comm	_rk_SOCK_ERRNO,8,3              ; @rk_SOCK_ERRNO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sendmsg %s: %s"

	.no_dead_strip	_chgpw_send_request
.subsections_via_symbols
