	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxusb_medion_check_intf
_cxusb_medion_check_intf:               ## @cxusb_medion_check_intf
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$2, %eax
	jge	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, (%rdi)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rdi
	decq	%rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	callq	_cxusb_medion_check_altsetting
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
LBB0_6:
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no alternate interface"

L_.str.1:                               ## @.str.1
	.asciz	"no iso interface"

	.no_dead_strip	_cxusb_medion_check_intf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxusb_medion_check_intf
_cxusb_medion_check_intf:               ; @cxusb_medion_check_intf
	.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
	ldr	w8, [x0]
	cmp	w8, #2
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	cmp	w9, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #4
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:
	bl	_cxusb_medion_check_altsetting
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	ldr	w0, [x19, #4]
	bl	_dev_err
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no alternate interface"

l_.str.1:                               ; @.str.1
	.asciz	"no iso interface"

	.no_dead_strip	_cxusb_medion_check_intf
.subsections_via_symbols
