	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sendrequest
_sendrequest:                           ## @sendrequest
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movl	%edi, %r13d
	movq	-56(%rbp), %rax
	movq	%rax, 48(%rsp)
	movups	-104(%rbp), %xmm0
	movups	-88(%rbp), %xmm1
	movups	-72(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_ZERO
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_RM_VN_MODE
	movl	%eax, -56(%rbp)
	movslq	%r13d, %rax
	movq	%rax, -64(%rbp)
	movslq	%r15d, %rax
	movq	%rax, -72(%rbp)
	movq	%r12, %r15
	imulq	%r14, %r15
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_4
## %bb.3:
	movl	-80(%rbp), %edi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%r14, %rbx
	jmp	LBB0_4
LBB0_1:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_4:
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_ERR_NITEMS
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_MBZ_ITEMSIZE
	movq	%rbx, -88(%rbp)
	movq	%rax, -96(%rbp)
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.5:
	movq	_keyid_entered@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_info_auth_keyid@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	je	LBB0_8
## %bb.6:
	testq	%rdi, %rdi
	jne	LBB0_8
LBB0_7:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_AUTH_SEQ
	movq	%rax, -104(%rbp)
	movq	_req_pkt_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-104(%rbp), %rdi
LBB0_26:
	callq	_sendpkt
	movl	%eax, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testq	%rdi, %rdi
	jne	LBB0_13
## %bb.9:
	leaq	L_.str(%rip), %rdi
	callq	_getkeyid
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%rax, %rdi
	movq	%rax, (%r12)
LBB0_13:
	callq	_authistrusted
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	_info_auth_keytype@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_getpass_keytype
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.16:
	movq	(%r12), %rdi
	movl	(%rbx), %esi
	movq	%rax, %rdx
	callq	_authusekey
	movq	(%r12), %rdi
	movl	$1, %esi
	callq	_authtrust
LBB0_17:
	movl	$1, %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_AUTH_SEQ
	movq	%rax, -104(%rbp)
	movq	_info_auth_hashlen@GOTPCREL(%rip), %r13
	cmpl	$17, (%r13)
	jl	LBB0_20
## %bb.18:
	movq	_REQ_LEN_NOMAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_req_pkt_size@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.19:
	movq	_REQ_LEN_HDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %r15
	addq	$7, %r15
	andq	$-4, %r15
	jmp	LBB0_21
LBB0_20:
	movq	_req_pkt_size@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_21:
	leaq	(%r15,%rbp), %r14
	addq	$-108, %r14
	leaq	-116(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_get_systime
	movq	_delay_time@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_L_ADD
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_HTONL_FP
	movq	(%r12), %rbx
	movq	%r15, %rdi
	callq	_size2int_chk
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_authencrypt
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movslq	(%r13), %r8
	leaq	4(%r8), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_24
## %bb.25:
	addq	%r15, %rax
	leaq	-104(%rbp), %rdi
	movq	%rax, %rsi
	jmp	LBB0_26
LBB0_22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_24:
	movq	_stderr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_27
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_11
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_11:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_keyid_entered,8,3              ## @keyid_entered
	.comm	_info_auth_keyid,8,3            ## @info_auth_keyid
	.comm	_req_pkt_size,8,3               ## @req_pkt_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Keyid: "

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Invalid key identifier\n"

	.comm	_info_auth_keytype,4,2          ## @info_auth_keytype
L_.str.2:                               ## @.str.2
	.asciz	"Invalid password\n"

	.comm	_info_auth_hashlen,4,2          ## @info_auth_hashlen
	.comm	_REQ_LEN_NOMAC,8,3              ## @REQ_LEN_NOMAC
	.comm	_REQ_LEN_HDR,8,3                ## @REQ_LEN_HDR
	.comm	_delay_time,4,2                 ## @delay_time
L_.str.3:                               ## @.str.3
	.asciz	"Key not found\n"

L_.str.4:                               ## @.str.4
	.asciz	"%zu octet MAC, %zu expected with %zu octet digest\n"

	.no_dead_strip	_sendrequest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sendrequest
_sendrequest:                           ; @sendrequest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x24, x0
	add	x0, sp, #40
	bl	_ZERO
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_RM_VN_MODE
	str	w0, [sp, #88]
	sxtw	x8, w24
	sxtw	x9, w19
	stp	x9, x8, [sp, #72]
	mul	x19, x21, x22
	cmp	x19, #0
	ccmp	x23, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_3
LBB0_2:
	mov	x1, x23
	mov	x2, x19
	bl	_memcpy
LBB0_3:
	mov	w0, #0
	mov	x1, x22
	bl	_ERR_NITEMS
	str	x0, [sp, #56]
	mov	x0, x21
	bl	_MBZ_ITEMSIZE
	str	x0, [sp, #48]
	cbz	w20, LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, _keyid_entered@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keyid_entered@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _info_auth_keyid@GOTPAGE
Lloh4:
	ldr	x21, [x21, _info_auth_keyid@GOTPAGEOFF]
	ldr	x0, [x21]
	cmp	x8, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_9
; %bb.5:
	cbz	x0, LBB0_11
; %bb.6:
	bl	_authistrusted
	cbnz	w0, LBB0_13
LBB0_7:
Lloh5:
	adrp	x20, _info_auth_keytype@GOTPAGE
Lloh6:
	ldr	x20, [x20, _info_auth_keytype@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_getpass_keytype
	ldrb	w8, [x0]
	cbz	w8, LBB0_23
; %bb.8:
	mov	x2, x0
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_authusekey
	ldr	x0, [x21]
	mov	w1, #1
	bl	_authtrust
	b	LBB0_13
LBB0_9:
	mov	w0, #0
	mov	w1, #0
	bl	_AUTH_SEQ
	str	x0, [sp, #40]
Lloh7:
	adrp	x8, _req_pkt_size@GOTPAGE
Lloh8:
	ldr	x8, [x8, _req_pkt_size@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
LBB0_10:
	add	x0, sp, #40
	bl	_sendpkt
	b	LBB0_26
LBB0_11:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getkeyid
	cbz	x0, LBB0_22
; %bb.12:
	str	x0, [x21]
	bl	_authistrusted
	cbz	w0, LBB0_7
LBB0_13:
	mov	w0, #1
	mov	w1, #0
	bl	_AUTH_SEQ
	str	x0, [sp, #40]
Lloh12:
	adrp	x22, _info_auth_hashlen@GOTPAGE
Lloh13:
	ldr	x22, [x22, _info_auth_hashlen@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #17
	b.lt	LBB0_16
; %bb.14:
Lloh14:
	adrp	x8, _REQ_LEN_NOMAC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REQ_LEN_NOMAC@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _req_pkt_size@GOTPAGE
Lloh18:
	ldr	x9, [x9, _req_pkt_size@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.15:
Lloh20:
	adrp	x8, _REQ_LEN_HDR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REQ_LEN_HDR@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x8, x19, x8
	add	x8, x8, #7
	and	x19, x8, #0xfffffffffffffffc
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x8, _req_pkt_size@GOTPAGE
Lloh24:
	ldr	x8, [x8, _req_pkt_size@GOTPAGEOFF]
Lloh25:
	ldr	x19, [x8]
LBB0_17:
	add	x8, sp, #40
	add	x8, x8, x19
	sub	x20, x8, #4
	add	x0, sp, #36
	bl	_get_systime
Lloh26:
	adrp	x1, _delay_time@GOTPAGE
Lloh27:
	ldr	x1, [x1, _delay_time@GOTPAGEOFF]
	add	x0, sp, #36
	bl	_L_ADD
	add	x0, sp, #36
	mov	x1, x20
	bl	_HTONL_FP
	ldr	x20, [x21]
	mov	x0, x19
	bl	_size2int_chk
	mov	x2, x0
	add	x1, sp, #40
	mov	x0, x20
	bl	_authencrypt
	cbz	x0, LBB0_20
; %bb.18:
	ldrsw	x10, [x22]
	add	x9, x10, #4
	cmp	x0, x9
	b.ne	LBB0_21
; %bb.19:
	add	x1, x0, x19
	b	LBB0_10
LBB0_20:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_24
LBB0_21:
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	stp	x9, x10, [sp, #8]
	str	x0, [sp]
Lloh36:
	adrp	x1, l_.str.4@PAGE
Lloh37:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	b	LBB0_24
LBB0_22:
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_23:
Lloh43:
	adrp	x8, _stderr@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_24:
	bl	_fprintf
LBB0_25:
	mov	w0, #1
LBB0_26:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_keyid_entered,8,3              ; @keyid_entered
	.comm	_info_auth_keyid,8,3            ; @info_auth_keyid
	.comm	_req_pkt_size,8,3               ; @req_pkt_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Keyid: "

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Invalid key identifier\n"

	.comm	_info_auth_keytype,4,2          ; @info_auth_keytype
l_.str.2:                               ; @.str.2
	.asciz	"Invalid password\n"

	.comm	_info_auth_hashlen,4,2          ; @info_auth_hashlen
	.comm	_REQ_LEN_NOMAC,8,3              ; @REQ_LEN_NOMAC
	.comm	_REQ_LEN_HDR,8,3                ; @REQ_LEN_HDR
	.comm	_delay_time,4,2                 ; @delay_time
l_.str.3:                               ; @.str.3
	.asciz	"Key not found\n"

l_.str.4:                               ; @.str.4
	.asciz	"%zu octet MAC, %zu expected with %zu octet digest\n"

	.no_dead_strip	_sendrequest
.subsections_via_symbols
