	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_rpc_sspi_wrap_data         ## -- Begin function xdr_rpc_sspi_wrap_data
	.p2align	4, 0x90
_xdr_rpc_sspi_wrap_data:                ## @xdr_rpc_sspi_wrap_data
	.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	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	movq	%r15, %rdi
	callq	_XDR_GETPOS
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	4(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_XDR_SETPOS
	leaq	16(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xdr_u_int
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	*%r13
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_XDR_GETPOS
	movl	%eax, %r13d
	movl	%eax, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	subl	%r12d, %ebx
	addl	$-4, %ebx
	movl	%ebx, -64(%rbp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_XDR_SETPOS
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_XDR_INLINE
	movl	%eax, -60(%rbp)
	movq	_RPCSEC_SSPI_SVC_INTEGRITY@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_8
## %bb.4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_XDR_SETPOS
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xdr_u_int
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	movl	16(%rbp), %edx
	leaq	-64(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_sspi_get_mic
	movq	_SEC_E_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movl	%r13d, %esi
	jmp	LBB0_13
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movq	_RPCSEC_SSPI_SVC_PRIVACY@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_9
## %bb.10:
	leaq	-64(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-84(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_sspi_wrap
	movq	_SEC_E_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_13:
	callq	_XDR_SETPOS
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$-1, %ecx
	callq	_xdr_bytes
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_sspi_release_buffer
	jmp	LBB0_14
LBB0_9:
	movl	(%rbx), %ebx
	jmp	LBB0_14
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_log_debug
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_log_debug
	movl	(%rbx), %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in xdr_rpc_sspi_wrap_data()"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_RPCSEC_SSPI_SVC_INTEGRITY,8,3  ## @RPCSEC_SSPI_SVC_INTEGRITY
	.comm	_SEC_E_OK,8,3                   ## @SEC_E_OK
L_.str.1:                               ## @.str.1
	.asciz	"xdr_rpc_sspi_wrap_data: sspi_get_mic failed with %x"

	.comm	_RPCSEC_SSPI_SVC_PRIVACY,8,3    ## @RPCSEC_SSPI_SVC_PRIVACY
L_.str.2:                               ## @.str.2
	.asciz	"xdr_rpc_sspi_wrap_data: sspi_wrap failed with %x"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_min_stat,4,2                   ## @min_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_rpc_sspi_wrap_data         ; -- Begin function xdr_rpc_sspi_wrap_data
	.p2align	2
_xdr_rpc_sspi_wrap_data:                ; @xdr_rpc_sspi_wrap_data
	.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	x22, x5
	mov	x20, x3
	mov	x25, x2
	mov	x23, x1
	mov	x19, x0
	str	w6, [sp, #44]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	mov	x0, x19
	bl	_XDR_GETPOS
	mov	x21, x0
	add	w24, w0, #4
	mov	x0, x19
	mov	x1, x24
	bl	_XDR_SETPOS
	add	x1, sp, #44
	mov	x0, x19
	bl	_xdr_u_int
	cbz	w0, LBB0_12
; %bb.1:
	mov	x0, x19
	mov	x1, x25
	blr	x23
	cbz	w0, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_XDR_GETPOS
	mov	x23, x0
	sub	w8, w0, w21
	sub	w25, w8, #4
	str	w25, [sp, #32]
	mov	x0, x19
	mov	x1, x24
	bl	_XDR_SETPOS
	mov	x0, x19
	mov	x1, x25
	bl	_XDR_INLINE
	str	w0, [sp, #36]
Lloh2:
	adrp	x8, _RPCSEC_SSPI_SVC_INTEGRITY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RPCSEC_SSPI_SVC_INTEGRITY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_XDR_SETPOS
	add	x1, sp, #32
	mov	x0, x19
	bl	_xdr_u_int
	cbz	w0, LBB0_12
; %bb.4:
	ldr	w2, [sp, #44]
	add	x21, sp, #24
	add	x3, sp, #32
	add	x4, sp, #24
	mov	x0, x20
	mov	w1, #0
	bl	_sspi_get_mic
Lloh5:
	adrp	x8, _SEC_E_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEC_E_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x19
	mov	x1, x23
	bl	_XDR_SETPOS
	orr	x1, x21, #0x4
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x23, _FALSE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
Lloh10:
	adrp	x8, _RPCSEC_SSPI_SVC_PRIVACY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RPCSEC_SSPI_SVC_PRIVACY@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_10
; %bb.7:
	add	x22, sp, #24
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #20
	mov	x0, x20
	mov	w1, #0
	bl	_sspi_wrap
Lloh13:
	adrp	x8, _SEC_E_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SEC_E_OK@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_XDR_SETPOS
	orr	x1, x22, #0x4
LBB0_9:
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #-1
	bl	_xdr_bytes
	mov	x19, x0
	add	x0, sp, #24
	bl	_sspi_release_buffer
	b	LBB0_13
LBB0_10:
	ldr	w19, [x23]
	b	LBB0_13
LBB0_11:
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_debug
LBB0_12:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
LBB0_13:
	mov	x0, x19
	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
LBB0_14:
	str	x0, [sp]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_debug
	ldr	w19, [x23]
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in xdr_rpc_sspi_wrap_data()"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_RPCSEC_SSPI_SVC_INTEGRITY,8,3  ; @RPCSEC_SSPI_SVC_INTEGRITY
	.comm	_SEC_E_OK,8,3                   ; @SEC_E_OK
l_.str.1:                               ; @.str.1
	.asciz	"xdr_rpc_sspi_wrap_data: sspi_get_mic failed with %x"

	.comm	_RPCSEC_SSPI_SVC_PRIVACY,8,3    ; @RPCSEC_SSPI_SVC_PRIVACY
l_.str.2:                               ; @.str.2
	.asciz	"xdr_rpc_sspi_wrap_data: sspi_wrap failed with %x"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_min_stat,4,2                   ; @min_stat
.subsections_via_symbols
