	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port100_in_set_framing
_port100_in_set_framing:                ## @port100_in_set_framing
	.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
	movl	%esi, %ebx
	callq	_nfc_digital_get_drvdata
	movq	%rax, %r14
	movq	_NFC_DIGITAL_FRAMING_LAST@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_1
## %bb.3:
	movq	_in_protocols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	_PORT100_IN_PROT_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$8, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rsi
	incq	%rdx
	addq	$-8, %rax
	cmpq	%rcx, (%rbx,%rsi,8)
	jne	LBB0_4
## %bb.5:
	xorl	%r15d, %r15d
	cmpl	$1, %edx
	je	LBB0_10
## %bb.6:
	negq	%rax
	movabsq	$34359738360, %r15              ## imm = 0x7FFFFFFF8
	andq	%rax, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_port100_alloc_skb
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_skb_put_data
	movq	_PORT100_CMD_IN_SET_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_port100_send_cmd_sync
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	(%rbx), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NFC_DIGITAL_FRAMING_LAST,4,2   ## @NFC_DIGITAL_FRAMING_LAST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_in_protocols,8,3               ## @in_protocols
	.comm	_PORT100_IN_PROT_END,8,3        ## @PORT100_IN_PROT_END
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PORT100_CMD_IN_SET_PROTOCOL,4,2 ## @PORT100_CMD_IN_SET_PROTOCOL
	.no_dead_strip	_port100_in_set_framing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port100_in_set_framing
_port100_in_set_framing:                ; @port100_in_set_framing
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	bl	_nfc_digital_get_drvdata
Lloh0:
	adrp	x8, _NFC_DIGITAL_FRAMING_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFC_DIGITAL_FRAMING_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x8, #0
Lloh3:
	adrp	x9, _in_protocols@GOTPAGE
Lloh4:
	ldr	x9, [x9, _in_protocols@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x20, [x9, w20, sxtw #3]
Lloh6:
	adrp	x9, _PORT100_IN_PROT_END@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PORT100_IN_PROT_END@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x9]
	mov	w9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20, x8, lsl #3]
	add	x8, x8, #1
	sub	x9, x9, #8
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.4:
	mov	w19, #0
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	neg	x8, x9
	and	x22, x8, #0x7fffffff8
	mov	x0, x19
	mov	x1, x22
	bl	_port100_alloc_skb
	cbz	x0, LBB0_11
; %bb.9:
	mov	x21, x0
	mov	x1, x20
	mov	x2, x22
	bl	_skb_put_data
Lloh11:
	adrp	x8, _PORT100_CMD_IN_SET_PROTOCOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PORT100_CMD_IN_SET_PROTOCOL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_port100_send_cmd_sync
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_11:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_12:
	ldr	x8, [x20]
	ldr	w19, [x8]
	mov	x0, x20
	bl	_dev_kfree_skb
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NFC_DIGITAL_FRAMING_LAST,4,2   ; @NFC_DIGITAL_FRAMING_LAST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_in_protocols,8,3               ; @in_protocols
	.comm	_PORT100_IN_PROT_END,8,3        ; @PORT100_IN_PROT_END
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PORT100_CMD_IN_SET_PROTOCOL,4,2 ; @PORT100_CMD_IN_SET_PROTOCOL
	.no_dead_strip	_port100_in_set_framing
.subsections_via_symbols
