	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setbridge_holdcount
_setbridge_holdcount:                   ## @setbridge_holdcount
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rsi
	callq	_get_val
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movl	-20(%rbp), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jb	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
	movzbl	-20(%rbp), %eax
LBB0_3:
	movzbl	%al, %eax
	movl	%eax, -24(%rbp)
	movq	_BRDGSTXHC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	movl	$1, %r8d
	callq	_do_cmd
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_err
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid value: %s"

	.comm	_BRDGSTXHC,4,2                  ## @BRDGSTXHC
L_.str.1:                               ## @.str.1
	.asciz	"BRDGSTXHC %s"

	.no_dead_strip	_setbridge_holdcount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setbridge_holdcount
_setbridge_holdcount:                   ; @setbridge_holdcount
	.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	x20, x2
	mov	x19, x0
	add	x1, sp, #4
	bl	_get_val
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w8, [sp, #4]
	cmp	w8, #256
	b.lo	LBB0_3
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
	ldrb	w8, [sp, #4]
LBB0_3:
	and	w8, w8, #0xff
	str	w8, [sp, #8]
Lloh2:
	adrp	x8, _BRDGSTXHC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BRDGSTXHC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #4
	mov	w4, #1
	bl	_do_cmd
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_err
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid value: %s"

	.comm	_BRDGSTXHC,4,2                  ; @BRDGSTXHC
l_.str.1:                               ; @.str.1
	.asciz	"BRDGSTXHC %s"

	.no_dead_strip	_setbridge_holdcount
.subsections_via_symbols
