	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __hidp_copy_session
___hidp_copy_session:                   ## @__hidp_copy_session
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	24(%rsi), %rdi
	leaq	24(%r14), %rsi
	callq	_bacpy
	movl	20(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	$0, (%rbx)
	movl	$0, 8(%rbx)
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	8(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	12(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movl	16(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	(%rax), %rsi
	movl	12(%rbx), %edi
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movl	$128, %edx
	callq	_strncpy
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movl	8(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	12(%rbx), %edi
	movq	16(%rax), %rsi
	movl	$128, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strncpy                        ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HID Boot Device"

	.no_dead_strip	___hidp_copy_session
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __hidp_copy_session
___hidp_copy_session:                   ; @__hidp_copy_session
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, x1, #24
	add	x1, x20, #24
	bl	_bacpy
	ldr	d0, [x20, #16]
	str	d0, [x19, #16]
	str	xzr, [x19]
	str	wzr, [x19, #8]
	ldr	w0, [x19, #12]
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	d0, [x8, #8]
	str	d0, [x19]
	ldr	w9, [x8, #16]
	str	w9, [x19, #8]
	ldr	x1, [x8]
	ldr	w0, [x19, #12]
	cbnz	x1, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	w2, #128
	bl	_strncpy
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	d0, [x8]
	str	d0, [x19]
	ldr	w9, [x8, #8]
	str	w9, [x19, #8]
	ldr	w0, [x19, #12]
	ldr	x1, [x8, #16]
	mov	w2, #128
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strncpy
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HID Boot Device"

	.no_dead_strip	___hidp_copy_session
.subsections_via_symbols
