	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_priv_writemif
_prism2_ioctl_priv_writemif:            ## @prism2_ioctl_priv_writemif
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	(%rax), %rax
	movsbl	(%rbx), %edx
	movb	1(%rbx), %cl
	movb	%cl, -17(%rbp)
	movq	(%rax), %rax
	movq	_HFA384X_CMDCODE_WRITEMIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ebx, %ebx
	leaq	-17(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	*(%rax)
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_CMDCODE_WRITEMIF,4,2   ## @HFA384X_CMDCODE_WRITEMIF
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_priv_writemif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_priv_writemif
_prism2_ioctl_priv_writemif:            ; @prism2_ioctl_priv_writemif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldrsb	w2, [x19]
	ldrb	w9, [x19, #1]
	strb	w9, [sp, #15]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HFA384X_CMDCODE_WRITEMIF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFA384X_CMDCODE_WRITEMIF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x3, sp, #15
	mov	x0, x20
	mov	x4, #0
	blr	x8
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_CMDCODE_WRITEMIF,4,2   ; @HFA384X_CMDCODE_WRITEMIF
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_priv_writemif
.subsections_via_symbols
