	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb20_dev_get_port_path     ## -- Begin function libusb20_dev_get_port_path
	.p2align	4, 0x90
_libusb20_dev_get_port_path:            ## @libusb20_dev_get_port_path
	.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
	movl	%edx, %eax
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.4:
	cmpl	%eax, %edx
	jg	LBB0_2
## %bb.5:
	movl	12(%rbx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_memcpy
	movl	(%rbx), %eax
	jmp	LBB0_6
LBB0_1:
	cmpl	$1, %eax
	jg	LBB0_3
LBB0_2:
	movq	_LIBUSB20_ERROR_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	movl	4(%rbx), %eax
	movl	%eax, (%rsi)
	movl	8(%rbx), %eax
	movl	%eax, 4(%rsi)
	movl	$2, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB20_ERROR_OVERFLOW,4,2    ## @LIBUSB20_ERROR_OVERFLOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb20_dev_get_port_path     ; -- Begin function libusb20_dev_get_port_path
	.p2align	2
_libusb20_dev_get_port_path:            ; @libusb20_dev_get_port_path
	.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	x8, x2
	mov	x19, x0
	ldr	w2, [x0]
	cbz	w2, LBB0_3
; %bb.1:
	cmp	w2, w8
	b.gt	LBB0_4
; %bb.2:
	ldr	w8, [x19, #12]
	mov	x0, x1
	mov	x1, x8
	bl	_memcpy
	ldr	w0, [x19]
	b	LBB0_6
LBB0_3:
	cmp	w8, #1
	b.gt	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _LIBUSB20_ERROR_OVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIBUSB20_ERROR_OVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19, #4]
	str	w8, [x1]
	ldr	w8, [x19, #8]
	str	w8, [x1, #4]
	mov	w0, #2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB20_ERROR_OVERFLOW,4,2    ; @LIBUSB20_ERROR_OVERFLOW
.subsections_via_symbols
