	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt_smb_write_block
_idt_smb_write_block:                   ## @idt_smb_write_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rsi), %ecx
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jle	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_CCODE_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rsi), %edx
	movq	_CCODE_START@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CCODE_END@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_write_block@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %r9d
	movl	4(%rsi), %r8d
	movl	%eax, %edi
	movl	%r9d, %esi
	popq	%rbp
	jmp	_idt_smb_safe                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CCODE_BLOCK,4,2                ## @CCODE_BLOCK
	.comm	_CCODE_START,4,2                ## @CCODE_START
	.comm	_CCODE_END,4,2                  ## @CCODE_END
	.comm	_write_block,4,2                ## @write_block
	.no_dead_strip	_idt_smb_write_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt_smb_write_block
_idt_smb_write_block:                   ; @idt_smb_write_block
	.cfi_startproc
; %bb.0:
	ldr	w3, [x1, #8]
Lloh0:
	adrp	x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, w8
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
Lloh6:
	adrp	x8, _CCODE_BLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCODE_BLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldp	w9, w4, [x1]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _CCODE_START@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CCODE_START@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _CCODE_END@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CCODE_END@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh15:
	adrp	x8, _write_block@GOTPAGE
Lloh16:
	ldr	x8, [x8, _write_block@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w1, [x0]
	mov	x0, x8
	b	_idt_smb_safe
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CCODE_BLOCK,4,2                ; @CCODE_BLOCK
	.comm	_CCODE_START,4,2                ; @CCODE_START
	.comm	_CCODE_END,4,2                  ; @CCODE_END
	.comm	_write_block,4,2                ; @write_block
	.no_dead_strip	_idt_smb_write_block
.subsections_via_symbols
