	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_request_modules
_mlx4_request_modules:                  ## @mlx4_request_modules
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.1:
	movq	8(%r14), %r11
	movq	_MLX4_PORT_TYPE_IB@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_MLX4_PORT_TYPE_ETH@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	movl	$1, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	negq	%r9
	xorl	%eax, %eax
	movl	$1, %ecx
	movl	$1, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rcx,8), %rdx
	movq	8(%r11,%rcx,8), %rsi
	cmpq	%r15, %rdx
	movl	%eax, %edi
	cmovel	%r12d, %edi
	cmpq	%r10, %rdx
	cmovel	%eax, %edi
	cmovel	%r12d, %ebx
	cmpq	%r15, %rsi
	movl	%edi, %eax
	cmovel	%r12d, %eax
	cmpq	%r10, %rsi
	cmovel	%r12d, %ebx
	cmovel	%edi, %eax
	leaq	(%r9,%rcx), %rdx
	addq	$2, %rdx
	addq	$2, %rcx
	cmpq	$1, %rdx
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	(%r11,%rcx,8), %rcx
	cmpq	%r15, %rcx
	movl	$1, %edx
	movl	%eax, %esi
	cmovel	%edx, %esi
	cmpq	%r10, %rcx
	cmovel	%edx, %ebx
	cmovnel	%esi, %eax
LBB0_7:
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_request_module_nowait
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_12
LBB0_10:
	movq	_MLX4_DEV_CAP_FLAG_IBOE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r14)
	je	LBB0_11
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_request_module_nowait          ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_PORT_TYPE_IB,8,3          ## @MLX4_PORT_TYPE_IB
	.comm	_MLX4_PORT_TYPE_ETH,8,3         ## @MLX4_PORT_TYPE_ETH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mlx4_en"

	.comm	_MLX4_DEV_CAP_FLAG_IBOE,4,2     ## @MLX4_DEV_CAP_FLAG_IBOE
L_.str.1:                               ## @.str.1
	.asciz	"mlx4_ib"

	.comm	_EN_DRV_NAME,4,2                ## @EN_DRV_NAME
	.comm	_IB_DRV_NAME,4,2                ## @IB_DRV_NAME
	.no_dead_strip	_mlx4_request_modules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_request_modules
_mlx4_request_modules:                  ; @mlx4_request_modules
	.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, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w9, #0
	mov	w20, #0
Lloh0:
	adrp	x10, _MLX4_PORT_TYPE_IB@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MLX4_PORT_TYPE_IB@GOTPAGEOFF]
	ldr	x12, [x19, #8]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _MLX4_PORT_TYPE_ETH@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MLX4_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	add	x12, x12, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12], #8
	cmp	x13, x11
	csinc	w14, w9, wzr, ne
	cmp	x13, x10
	csinc	w20, w20, wzr, ne
	csel	w9, w9, w14, eq
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.3:
	cbz	w9, LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_request_module_nowait
LBB0_5:
	cbnz	w20, LBB0_7
LBB0_6:
	ldr	w8, [x19, #16]
Lloh8:
	adrp	x9, _MLX4_DEV_CAP_FLAG_IBOE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG_IBOE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_request_module_nowait
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_PORT_TYPE_IB,8,3          ; @MLX4_PORT_TYPE_IB
	.comm	_MLX4_PORT_TYPE_ETH,8,3         ; @MLX4_PORT_TYPE_ETH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mlx4_en"

	.comm	_MLX4_DEV_CAP_FLAG_IBOE,4,2     ; @MLX4_DEV_CAP_FLAG_IBOE
l_.str.1:                               ; @.str.1
	.asciz	"mlx4_ib"

	.comm	_EN_DRV_NAME,4,2                ; @EN_DRV_NAME
	.comm	_IB_DRV_NAME,4,2                ; @IB_DRV_NAME
	.no_dead_strip	_mlx4_request_modules
.subsections_via_symbols
