	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_firewire_ioctl                 ## -- Begin function firewire_ioctl
	.p2align	4, 0x90
_firewire_ioctl:                        ## @firewire_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
	movq	%rdx, %rbx
	movq	%rdi, %rax
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.3:
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%rax)
	movl	4(%rax), %edi
	callq	*8(%rax)
	jmp	LBB0_8
LBB0_4:
	movq	%rax, %rdi
	callq	_IFP2FWC
	movq	8(%rbx), %rcx
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_8
LBB0_5:
	movl	(%rbx), %ecx
	cmpl	$1501, %ecx                     ## imm = 0x5DD
	jl	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_7:
	movl	%ecx, (%rax)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_firewire_ioctl                 ; -- Begin function firewire_ioctl
	.p2align	2
_firewire_ioctl:                        ; @firewire_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	x19, x2
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	orr	w8, w9, w8
	str	w8, [x0, #16]
	ldr	x8, [x0, #8]
	ldr	w0, [x0, #4]
	blr	x8
	mov	w8, #0
	b	LBB0_8
LBB0_4:
	bl	_IFP2FWC
	mov	w8, #0
	ldr	x9, [x19, #8]
	ldr	w10, [x0]
	str	w10, [x9]
	b	LBB0_8
LBB0_5:
	ldr	w9, [x19]
	cmp	w9, #1501
	b.lt	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_7:
	mov	w8, #0
	str	w9, [x0]
LBB0_8:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
