	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_detach
_ipoib_detach:                          ## @ipoib_detach
	.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
	movq	8(%rdi), %r14
	movq	_IPOIB_FLAG_SUBINTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_VLAN_SETCOOKIE
	jmp	LBB0_3
LBB0_1:
	movl	$1, (%rbx)
	movq	%r14, %rdi
	callq	_bpfdetach
	movq	%r14, %rdi
	callq	_if_detach
	movq	%r14, %rdi
	callq	_if_free
	movq	_ipoib_unrhdr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_free_unr
LBB0_3:
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_FLAG_SUBINTERFACE,4,2    ## @IPOIB_FLAG_SUBINTERFACE
	.comm	_ipoib_unrhdr,4,2               ## @ipoib_unrhdr
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.no_dead_strip	_ipoib_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_detach
_ipoib_detach:                          ; @ipoib_detach
	.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	x20, [x0, #8]
Lloh0:
	adrp	x8, _IPOIB_FLAG_SUBINTERFACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_FLAG_SUBINTERFACE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	mov	x1, #0
	bl	_VLAN_SETCOOKIE
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x20
	bl	_bpfdetach
	mov	x0, x20
	bl	_if_detach
	mov	x0, x20
	bl	_if_free
Lloh3:
	adrp	x8, _ipoib_unrhdr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ipoib_unrhdr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_free_unr
LBB0_3:
Lloh6:
	adrp	x8, _M_TEMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_TEMP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_FLAG_SUBINTERFACE,4,2    ; @IPOIB_FLAG_SUBINTERFACE
	.comm	_ipoib_unrhdr,4,2               ; @ipoib_unrhdr
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.no_dead_strip	_ipoib_detach
.subsections_via_symbols
