	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_select_altsetting      ## -- Begin function cdc_ncm_select_altsetting
	.p2align	4, 0x90
_cdc_ncm_select_altsetting:             ## @cdc_ncm_select_altsetting
	.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
	cmpl	$1, (%rdi)
	jg	LBB0_2
## %bb.1:
	movq	8(%rdi), %rbx
	jmp	LBB0_6
LBB0_2:
	movq	_prefer_mbim@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_CDC_NCM_COMM_ALTSETTING_MBIM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_usb_altnum_to_altsetting
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_cdc_ncm_comm_intf_is_mbim
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_CDC_NCM_COMM_ALTSETTING_NCM@GOTPCREL(%rip), %rbx
LBB0_6:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prefer_mbim,8,3                ## @prefer_mbim
	.comm	_CDC_NCM_COMM_ALTSETTING_MBIM,4,2 ## @CDC_NCM_COMM_ALTSETTING_MBIM
	.comm	_CDC_NCM_COMM_ALTSETTING_NCM,4,2 ## @CDC_NCM_COMM_ALTSETTING_NCM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_select_altsetting      ; -- Begin function cdc_ncm_select_altsetting
	.p2align	2
_cdc_ncm_select_altsetting:             ; @cdc_ncm_select_altsetting
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	b	LBB0_7
LBB0_2:
Lloh0:
	adrp	x8, _prefer_mbim@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prefer_mbim@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _CDC_NCM_COMM_ALTSETTING_MBIM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CDC_NCM_COMM_ALTSETTING_MBIM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_usb_altnum_to_altsetting
	cbz	x0, LBB0_6
; %bb.4:
	bl	_cdc_ncm_comm_intf_is_mbim
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _CDC_NCM_COMM_ALTSETTING_MBIM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CDC_NCM_COMM_ALTSETTING_MBIM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _CDC_NCM_COMM_ALTSETTING_NCM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CDC_NCM_COMM_ALTSETTING_NCM@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_prefer_mbim,8,3                ; @prefer_mbim
	.comm	_CDC_NCM_COMM_ALTSETTING_MBIM,4,2 ; @CDC_NCM_COMM_ALTSETTING_MBIM
	.comm	_CDC_NCM_COMM_ALTSETTING_NCM,4,2 ; @CDC_NCM_COMM_ALTSETTING_NCM
.subsections_via_symbols
