	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_ioctl
_ipoib_ioctl:                           ## @ipoib_ioctl
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rcx)
	je	LBB0_3
LBB0_2:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_16
## %bb.4:
	movq	%rdx, %rbx
	movq	%rdi, %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_11:
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%ebx, %ebx
	testl	%edx, 4(%rax)
	je	LBB0_18
## %bb.12:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rcx
	movq	%rcx, %rsi
	callq	_queue_work
	jmp	LBB0_18
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movl	(%rbx), %esi
	movq	%rcx, %rdi
	xorl	%edx, %edx
	callq	_ipoib_change_mtu
	jmp	LBB0_8
LBB0_5:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	4(%rax), %edx
	testl	%esi, (%rax)
	je	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	testl	%edx, %edx
	jne	LBB0_18
## %bb.7:
	movq	%rcx, %rdi
	callq	_ipoib_open
LBB0_8:
	movl	%eax, %ebx
	negl	%ebx
	jmp	LBB0_18
LBB0_13:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%rax)
	movq	%rcx, %rdi
	callq	*16(%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_14:
	movq	%rax, %rdi
	callq	_IF_LLADDR
	movq	8(%rbx), %rsi
	movq	_INFINIBAND_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_bcopy
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_9:
	xorl	%ebx, %ebx
	testl	%edx, %edx
	je	LBB0_18
## %bb.10:
	movq	%rcx, %rdi
	callq	_ipoib_stop
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
	.comm	_INFINIBAND_ALEN,4,2            ## @INFINIBAND_ALEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ipoib_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_ioctl
_ipoib_ioctl:                           ; @ipoib_ioctl
	.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, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x9, [x0]
	cbz	x9, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	sub	w9, w1, #128
	cmp	w9, #5
	b.hi	LBB0_9
; %bb.6:
	mov	x19, x2
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_7
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_7:
	ldr	w8, [x8, #4]
Lloh4:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.8:
Lloh7:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	add	x1, x0, #8
	mov	x0, x8
	bl	_queue_work
	mov	w0, #0
	b	LBB0_4
LBB0_9:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_10:
	ldr	w1, [x19]
	mov	w2, #0
	bl	_ipoib_change_mtu
	neg	w0, w0
	b	LBB0_4
LBB0_11:
Lloh12:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldp	w10, w8, [x8]
Lloh15:
	adrp	x11, _IFF_DRV_RUNNING@GOTPAGE
Lloh16:
	ldr	x11, [x11, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	and	w8, w11, w8
	tst	w9, w10
	b.eq	LBB0_17
; %bb.12:
	cbnz	w8, LBB0_16
; %bb.13:
	bl	_ipoib_open
	neg	w0, w0
	b	LBB0_4
LBB0_14:
Lloh18:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	ldr	x8, [x8, #16]
	blr	x8
	mov	w0, #0
	b	LBB0_4
LBB0_15:
	mov	x0, x8
	bl	_IF_LLADDR
	ldr	x1, [x19, #8]
Lloh21:
	adrp	x8, _INFINIBAND_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INFINIBAND_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_bcopy
LBB0_16:
	mov	w0, #0
	b	LBB0_4
LBB0_17:
	cbz	w8, LBB0_16
; %bb.18:
	bl	_ipoib_stop
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
	.comm	_INFINIBAND_ALEN,4,2            ; @INFINIBAND_ALEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ipoib_ioctl
.subsections_via_symbols
