	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hidp_get_conninfo              ## -- Begin function hidp_get_conninfo
	.p2align	4, 0x90
_hidp_get_conninfo:                     ## @hidp_get_conninfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_hidp_session_sem@GOTPCREL(%rip), %rdi
	callq	_down_read
	movq	%rbx, %rdi
	callq	___hidp_get_session
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	___hidp_copy_session
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movq	_hidp_session_sem@GOTPCREL(%rip), %rdi
	callq	_up_read
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hidp_session_sem,4,2           ## @hidp_session_sem
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hidp_get_conninfo              ; -- Begin function hidp_get_conninfo
	.p2align	2
_hidp_get_conninfo:                     ; @hidp_get_conninfo
	.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, x0
Lloh0:
	adrp	x0, _hidp_session_sem@GOTPAGE
Lloh1:
	ldr	x0, [x0, _hidp_session_sem@GOTPAGEOFF]
	bl	_down_read
	mov	x0, x19
	bl	___hidp_get_session
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	___hidp_copy_session
	mov	w19, #0
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_3:
Lloh5:
	adrp	x0, _hidp_session_sem@GOTPAGE
Lloh6:
	ldr	x0, [x0, _hidp_session_sem@GOTPAGEOFF]
	bl	_up_read
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_hidp_session_sem,4,2           ; @hidp_session_sem
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
